disLodge commited on
Commit
2cf5e41
·
verified ·
1 Parent(s): 0152be5

Error fixes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ class HuggingFaceInterferenceClientRunnable(Runnable):
36
  self.top_p = top_p
37
 
38
  @retry(
39
- stop=stop_sfter_attempt(3)
40
- wait=wait_exponential(multiplier=1, min=4, max=10)
41
  retry=retry_if_exception_type((requests.exceptions.ConnectionError, requests.exceptions.Timeout))
42
  )
43
 
 
36
  self.top_p = top_p
37
 
38
  @retry(
39
+ stop=stop_sfter_attempt(3),
40
+ wait=wait_exponential(multiplier=1, min=4, max=10),
41
  retry=retry_if_exception_type((requests.exceptions.ConnectionError, requests.exceptions.Timeout))
42
  )
43