summaryrefslogtreecommitdiffstats
path: root/g4f/api/run.py
blob: c822237d61397f4c8f0006328944c3a2419a9daa (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(engine = g4f, debug = True).run(ip = "127.0.0.1:1337", thread_quantity = 8)