Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|