gpt4free/g4f/api/run.py

7 lines
201 B
Python
Raw Normal View History

import g4f
import g4f.api
2023-10-12 01:35:11 +00:00
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")