Skip to content

Commit

Permalink
Fix unitests
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Jan 5, 2025
1 parent 13b6fde commit afc94b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions g4f/gui/webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ def run_webview(
storage_path=storage_path,
debug=debug,
http_port=http_port,
ssl=ssl,
gui=gui
ssl=ssl
)

if __name__ == "__main__":
parser = gui_parser()
args = parser.parse_args()
if args.debug:
g4f.debug.logging = True
run_webview(args.debug, args.port)
run_webview(args.debug, args.port, not args.debug)
4 changes: 1 addition & 3 deletions g4f/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ class ImageModel(Model):

mistral_large = Model(
name = "mistral-large",
base_provider = "Mistral",
best_provider = PollinationsAI
base_provider = "Mistral"
)

### NousResearch ###
Expand Down Expand Up @@ -348,7 +347,6 @@ class ImageModel(Model):
command_r = Model(
name = 'command-r',
base_provider = 'CohereForAI',
best_provider = PollinationsAI
)

### Qwen ###
Expand Down

0 comments on commit afc94b2

Please sign in to comment.