mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-26 04:33:35 +03:00
7 lines
201 B
Python
7 lines
201 B
Python
import g4f
|
|
import g4f.api
|
|
|
|
if __name__ == "__main__":
|
|
print(f'Starting server... [g4f v-{g4f.version.utils.current_version}]')
|
|
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")
|