Commit
•
c8464bf
1
Parent(s):
c5d71a6
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def predict(message, history):
|
|
65 |
}
|
66 |
|
67 |
# Make the POST request
|
68 |
-
response = requests.post(url, headers=headers, data=json.dumps(data))
|
69 |
|
70 |
# Check if the request was successful
|
71 |
if response.status_code == 200:
|
|
|
65 |
}
|
66 |
|
67 |
# Make the POST request
|
68 |
+
response = requests.post(url, headers=headers, data=json.dumps(data), timeout=200)
|
69 |
|
70 |
# Check if the request was successful
|
71 |
if response.status_code == 200:
|