Skip to content

Commit

Permalink
Fix api run module
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Dec 23, 2023
1 parent 3a81f9a commit 236ec98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g4f/api/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
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")

0 comments on commit 236ec98

Please sign in to comment.