dschandra commited on
Commit
26e237b
·
verified ·
1 Parent(s): 3d77471

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -92,5 +92,6 @@ def update_dashboard(n_clicks, city, days):
92
 
93
  return summary, temp_fig, precip_fig, wind_fig
94
 
 
95
  if __name__ == '__main__':
96
- app.run_server(debug=True)
 
92
 
93
  return summary, temp_fig, precip_fig, wind_fig
94
 
95
+ # Run server on port 7860 for Hugging Face Spaces
96
  if __name__ == '__main__':
97
+ app.run_server(debug=True, host='0.0.0.0', port=7860)