Spaces:
Sleeping
Sleeping
Update run_app.py
Browse files- run_app.py +8 -11
run_app.py
CHANGED
@@ -48,7 +48,14 @@ class ChatCompletionsForm(BaseModel):
|
|
48 |
proxy: Optional[str] = None
|
49 |
|
50 |
class AppConfig():
|
51 |
-
list_ignored_providers: Optional[list[str]] =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
g4f_api_key: Optional[str] = None
|
53 |
ignore_cookie_files: bool = False
|
54 |
defaults: dict = {}
|
@@ -207,15 +214,5 @@ def run_api(
|
|
207 |
reload=debug
|
208 |
)
|
209 |
|
210 |
-
|
211 |
-
list_ignored_providers = [
|
212 |
-
"GptForLove",
|
213 |
-
"ChatBase",
|
214 |
-
"Chatgpt4Online",
|
215 |
-
"ChatAnywhere",
|
216 |
-
"GptGo",
|
217 |
-
"You",
|
218 |
-
]
|
219 |
-
|
220 |
if __name__ == "__main__":
|
221 |
run_api(debug=True)
|
|
|
48 |
proxy: Optional[str] = None
|
49 |
|
50 |
class AppConfig():
|
51 |
+
list_ignored_providers: Optional[list[str]] = [
|
52 |
+
"GptForLove",
|
53 |
+
"ChatBase",
|
54 |
+
"Chatgpt4Online",
|
55 |
+
"ChatAnywhere",
|
56 |
+
"GptGo",
|
57 |
+
"You",
|
58 |
+
]
|
59 |
g4f_api_key: Optional[str] = None
|
60 |
ignore_cookie_files: bool = False
|
61 |
defaults: dict = {}
|
|
|
214 |
reload=debug
|
215 |
)
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
if __name__ == "__main__":
|
218 |
run_api(debug=True)
|