~ | Merge pull request #1112 from lategege/main

fix bug - Cannot assign requested address
pull/1122/head
Tekky 9 months ago committed by GitHub
commit f125f714fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,4 +3,4 @@ import g4f.api
if __name__ == "__main__":
print(f'Starting server... [g4f v-{g4f.version}]')
g4f.api.Api(g4f).run('localhost:1337', 8)
g4f.api.Api(g4f).run('127.0.0.1:1337', 8)

@ -17,7 +17,7 @@ def main():
args = parser.parse_args()
if args.mode == "api":
Api(g4f).run('localhost:1337', 8)
Api(g4f).run('127.0.0.1:1337', 8)
elif args.mode == "gui":
run_gui_args(args)
else:

Loading…
Cancel
Save