Defalt-404 commited on
Commit
95b7fb7
1 Parent(s): 08762ac

fixed main

Browse files
Files changed (1) hide show
  1. server.py +3 -4
server.py CHANGED
@@ -101,8 +101,7 @@ def display_transformed_csv():
101
  except FileNotFoundError:
102
  return "CSV file not found."
103
 
104
- if __name__ == '__main__':
105
- app = create_app()
106
- app.secret_key = get_secrets('secret_key')
107
- app.run(debug=True, host='0.0.0.0', port=7860)
108
 
 
101
  except FileNotFoundError:
102
  return "CSV file not found."
103
 
104
+ app = create_app()
105
+ app.secret_key = get_secrets('secret_key')
106
+ app.run(debug=True, host='0.0.0.0', port=7860)
 
107