marynab commited on
Commit
2482d01
·
1 Parent(s): d63d7af

increase timeout

Browse files
Files changed (1) hide show
  1. 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=60)
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