diff options
Diffstat (limited to 'g4f/api')
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index bbb0d1d5..43bca2a5 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -159,4 +159,4 @@ class Api: def run(self, ip): split_ip = ip.split(":") - uvicorn.run(host=split_ip[0], port=int(split_ip[1]), use_colors=False) + uvicorn.run(app=self.app, host=split_ip[0], port=int(split_ip[1]), use_colors=False) |