Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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 |
}
|