Rooni commited on
Commit
a3f471a
·
verified ·
1 Parent(s): d4450d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-fast"
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