Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ if st.button("Summarize"):
|
|
157 |
|
158 |
try:
|
159 |
# Send POST request to your local model server
|
160 |
-
response = requests.post(api_url, headers=headers, json=payload,timeout=
|
161 |
response.raise_for_status() # Raise HTTPError if status != 200
|
162 |
|
163 |
# Parse JSON response
|
|
|
157 |
|
158 |
try:
|
159 |
# Send POST request to your local model server
|
160 |
+
response = requests.post(api_url, headers=headers, json=payload,timeout=300)
|
161 |
response.raise_for_status() # Raise HTTPError if status != 200
|
162 |
|
163 |
# Parse JSON response
|