summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
blob: 12bf9eed6ca73c0e9c96f77724228dec6826b1a0 (plain) (blame)
1
2
3
4
5
6
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)