summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
blob: 4dcf5613ea99ffb6e0f4cee8a4bd1464e28cc5b8 (plain) (blame)
1
2
3
4
5
6
import g4f
import g4f.api

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")