Rooni commited on
Commit
75b394e
·
verified ·
1 Parent(s): 7cc7a4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def chat_with_searchgpt(user_message="", history=[], max_tokens=2500, temperatur
20
  if user_message == "":
21
  return history, user_message
22
 
23
- api_url = "https://text.pollinations.ai/openai"
24
  headers = {
25
  "Content-Type": "application/json"
26
  }
 
20
  if user_message == "":
21
  return history, user_message
22
 
23
+ api_url = os.getenv("API_BASE", "")
24
  headers = {
25
  "Content-Type": "application/json"
26
  }