rbgo commited on
Commit
93a1b8c
·
verified ·
1 Parent(s): 18524d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=30)
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