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-10-21 04:10:03 +00:00
|
|
|
g4f.api.Api(g4f).run('127.0.0.1:1337', 8)
|