2023-10-20 18:04:13 +00:00
|
|
|
import g4f
|
|
|
|
import g4f.api
|
2023-10-12 01:35:11 +00:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2023-10-20 18:28:46 +00:00
|
|
|
print(f'Starting server... [g4f v-{g4f.version}]')
|
2023-11-04 21:25:02 +00:00
|
|
|
g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337")
|