Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ from pydantic import BaseModel
|
|
| 13 |
API_CHALLENGE_URL = 'https://api.eqing.tech/api/altcaptcha/challenge'
|
| 14 |
NEXTWAY_CHAT_URL = 'https://origin.eqing.tech/api/openai/v1/chat/completions'
|
| 15 |
CREDENTIAL_EXPIRY_MARGIN = 60 * 1000 # 60 seconds in milliseconds
|
| 16 |
-
PORT =
|
| 17 |
API_ENDPOINT = '/v1/chat/completions'
|
| 18 |
MODEL_NAME = "gpt-4o-free"
|
| 19 |
REQUEST_TIMEOUT = 480 # seconds
|
|
|
|
| 13 |
API_CHALLENGE_URL = 'https://api.eqing.tech/api/altcaptcha/challenge'
|
| 14 |
NEXTWAY_CHAT_URL = 'https://origin.eqing.tech/api/openai/v1/chat/completions'
|
| 15 |
CREDENTIAL_EXPIRY_MARGIN = 60 * 1000 # 60 seconds in milliseconds
|
| 16 |
+
PORT = 7860
|
| 17 |
API_ENDPOINT = '/v1/chat/completions'
|
| 18 |
MODEL_NAME = "gpt-4o-free"
|
| 19 |
REQUEST_TIMEOUT = 480 # seconds
|