mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-29 10:42:36 +08:00
Added new provider PI (Hacky way to use) (#1291)
* Added new provider PI (Hacky way to use) * Updated models endpoint made it show real info about the model.py * Added cloudscraper to the requirements * Fixed some bugs aka made streaming also return role
This commit is contained in:
@@ -3,4 +3,4 @@ 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")
|
||||
g4f.api.Api(engine = g4f, debug = True).run(ip = "0.0.0.0:10000")
|
||||
|
||||
Reference in New Issue
Block a user