ujaganna commited on
Commit
483577d
·
verified ·
1 Parent(s): a90899b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def get_response(url, max_retries=5, backoff_factor=2):
61
 
62
  elif response.status_code == 429: # Too many requests
63
  wait_time = backoff_factor ** attempt # Exponential backoff
64
- st.write(f"Rate limit hit. Retrying in {wait_time} seconds...")
65
  time.sleep(wait_time)
66
 
67
  else:
 
61
 
62
  elif response.status_code == 429: # Too many requests
63
  wait_time = backoff_factor ** attempt # Exponential backoff
64
+ #st.write(f"Rate limit hit. Retrying in {wait_time} seconds...")
65
  time.sleep(wait_time)
66
 
67
  else: