gpt4free/g4f/api/run.py

6 lines
154 B
Python

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