From 8fcf618bbe164e6c6f3e0df5e6c9809f35a50e6c Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sun, 5 May 2024 23:38:31 +0200 Subject: Add Ollama provider, Add vision support to Openai --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api') diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index f252ab71..20cc42db 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -201,7 +201,7 @@ def run_api( if bind is not None: host, port = bind.split(":") uvicorn.run( - f"g4f.api:{'create_app_debug' if debug else 'create_app'}", + f"g4f.api:create_app{'_debug' if debug else ''}", host=host, port=int(port), workers=workers, use_colors=use_colors, -- cgit v1.2.3