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