increase timeout
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -78,7 +78,7 @@ def query_model(prompt, endpoint_url, token, max_tokens, temperature, top_p):
|
|
| 78 |
}
|
| 79 |
|
| 80 |
try:
|
| 81 |
-
response = requests.post(api_url, headers=headers, json=payload, timeout=
|
| 82 |
|
| 83 |
if response.status_code != 200:
|
| 84 |
error_detail = response.text
|
|
|
|
| 78 |
}
|
| 79 |
|
| 80 |
try:
|
| 81 |
+
response = requests.post(api_url, headers=headers, json=payload, timeout=180)
|
| 82 |
|
| 83 |
if response.status_code != 200:
|
| 84 |
error_detail = response.text
|