getapi commited on
Commit
6185eea
1 Parent(s): fef0af5

Create run_app.py

Browse files
Files changed (1) hide show
  1. run_app.py +16 -0
run_app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import g4f
2
+ from g4f.api import Api
3
+
4
+ list_ignored_providers = [
5
+ # "RetryProvider",
6
+ "GptForLove",
7
+ "ChatBase",
8
+ "Chatgpt4Online",
9
+ "ChatAnywhere",
10
+ "GptGo",
11
+ "You",
12
+ ]
13
+
14
+
15
+ if __name__ == "__main__":
16
+ Api(engine=g4f, debug=True).run(ip="0.0.0.0:1337")