Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ session = requests.Session()
|
|
7 |
|
8 |
# Function to interact with the AI
|
9 |
def chat_with_ai(message):
|
10 |
-
api_url =
|
11 |
payload = {"message": message}
|
12 |
|
13 |
try:
|
|
|
7 |
|
8 |
# Function to interact with the AI
|
9 |
def chat_with_ai(message):
|
10 |
+
api_url = os.getenv("CHAT_API_URL")
|
11 |
payload = {"message": message}
|
12 |
|
13 |
try:
|