Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ except requests.exceptions.RequestException as e:
|
|
| 13 |
print(f"Ошибка загрузки CSS: {e}")
|
| 14 |
css = " h1{text-align:center}"
|
| 15 |
|
| 16 |
-
API_URL = "https://text.pollinations.ai/openai"
|
| 17 |
-
MODEL_NAME = "openai
|
| 18 |
TEMPERATURE = 0.7
|
| 19 |
MAX_TOKENS = 1500
|
| 20 |
|
|
|
|
| 13 |
print(f"Ошибка загрузки CSS: {e}")
|
| 14 |
css = " h1{text-align:center}"
|
| 15 |
|
| 16 |
+
API_URL = "https://text.pollinations.ai/openai/v1/chat/completions"
|
| 17 |
+
MODEL_NAME = "openai"
|
| 18 |
TEMPERATURE = 0.7
|
| 19 |
MAX_TOKENS = 1500
|
| 20 |
|