Arihant0008 commited on
Commit
6c4e01f
·
verified ·
1 Parent(s): 2e29630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -620,9 +620,9 @@ def internal_server_error(e):
620
  def request_entity_too_large(e):
621
  return render_template('index.html', error='File too large. Max 50 MB.'), 413
622
 
623
- @app.errorhandler(429)
624
- def ratelimit_handler(e):
625
- return render_template('index.html', error=f'Rate limit exceeded: {e.description}'), 429
626
 
627
 
628
  # --- Main ---
 
620
  def request_entity_too_large(e):
621
  return render_template('index.html', error='File too large. Max 50 MB.'), 413
622
 
623
+ # @app.errorhandler(429)
624
+ # def ratelimit_handler(e):
625
+ # return render_template('index.html', error=f'Rate limit exceeded: {e.description}'), 429
626
 
627
 
628
  # --- Main ---