gpt4free/g4f/api/run.py
2023-12-23 21:03:33 +01:00

7 lines
191 B
Python

import g4f
import g4f.api
if __name__ == "__main__":
print(f'Starting server... [g4f v-{g4f.debug.get_version()}]')
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")