ashwath-vaithina-ibm commited on
Commit
883448a
·
1 Parent(s): 5de0e4f

enable debug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,5 +123,5 @@ def log():
123
  return jsonify({'message': 'Data added successfully', 'data': existing_data}), 201
124
 
125
  if __name__=='__main__':
126
- debug_mode = os.getenv('FLASK_DEBUG', 'False').lower() in ['true', '1', 't']
127
  app.run(host='0.0.0.0', port='7860', debug=debug_mode)
 
123
  return jsonify({'message': 'Data added successfully', 'data': existing_data}), 201
124
 
125
  if __name__=='__main__':
126
+ debug_mode = os.getenv('FLASK_DEBUG', 'True').lower() in ['true', '1', 't']
127
  app.run(host='0.0.0.0', port='7860', debug=debug_mode)