gpt4free/g4f/api/run.py
ThatLukinhasGuy 0a2ff2ba5e
Update run.py
2023-11-04 18:25:02 -03:00

7 lines
180 B
Python

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