summaryrefslogblamecommitdiffstats
path: root/g4f/api/run.py
blob: bd76fcf268dcf43974c57891ade20626679e141a (plain) (tree)
1
2
3
4
5
6

              

                          
                                                      
                                    
import g4f
import g4f.api

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