dabao1955 commited on
Commit
f2b9110
·
verified ·
1 Parent(s): a368ec4

Disable debug mode

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,5 +30,5 @@ def index():
30
  return jsonify({'error': 'Invalid action'}), 400
31
  return render_template('index.html')
32
 
33
- if __name__ == '__main__':
34
- app.run(debug=True)
 
30
  return jsonify({'error': 'Invalid action'}), 400
31
  return render_template('index.html')
32
 
33
+ if __name__ == "__main__":
34
+ app.run(debug=False, use_reloader=False)