mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-29 22:34:08 +03:00
Fix api run module
This commit is contained in:
parent
3a81f9a2af
commit
236ec98380
@ -2,5 +2,5 @@ import g4f
|
||||
import g4f.api
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(f'Starting server... [g4f v-{g4f.version}]')
|
||||
print(f'Starting server... [g4f v-{g4f.debug.get_version()}]')
|
||||
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")
|
||||
|
Loading…
Reference in New Issue
Block a user