KeivanR commited on
Commit
5a63674
·
1 Parent(s): f2f01ac

read timeout evaluate 3min

Browse files
Files changed (1) hide show
  1. qwen_classifier/evaluate.py +1 -1
qwen_classifier/evaluate.py CHANGED
@@ -183,7 +183,7 @@ def _evaluate_hf_api(file_path, hf_token=None):
183
  "Authorization": f"Bearer {hf_token}",
184
  "Content-Type": "application/json"
185
  } if hf_token else {"Content-Type": "application/json"},
186
- timeout=30
187
  )
188
  response.raise_for_status() # Raise HTTP errors
189
  return response.json()
 
183
  "Authorization": f"Bearer {hf_token}",
184
  "Content-Type": "application/json"
185
  } if hf_token else {"Content-Type": "application/json"},
186
+ timeout=180
187
  )
188
  response.raise_for_status() # Raise HTTP errors
189
  return response.json()