diff --git a/g4f/gui/webview.py b/g4f/gui/webview.py index 4f6927c8092..b0ddd01a629 100644 --- a/g4f/gui/webview.py +++ b/g4f/gui/webview.py @@ -38,8 +38,7 @@ def run_webview( storage_path=storage_path, debug=debug, http_port=http_port, - ssl=ssl, - gui=gui + ssl=ssl ) if __name__ == "__main__": @@ -47,4 +46,4 @@ def run_webview( args = parser.parse_args() if args.debug: g4f.debug.logging = True - run_webview(args.debug, args.port) \ No newline at end of file + run_webview(args.debug, args.port, not args.debug) \ No newline at end of file diff --git a/g4f/models.py b/g4f/models.py index 43008d68144..b041ab6abfc 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -213,8 +213,7 @@ class ImageModel(Model): mistral_large = Model( name = "mistral-large", - base_provider = "Mistral", - best_provider = PollinationsAI + base_provider = "Mistral" ) ### NousResearch ### @@ -348,7 +347,6 @@ class ImageModel(Model): command_r = Model( name = 'command-r', base_provider = 'CohereForAI', - best_provider = PollinationsAI ) ### Qwen ###