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