Update correlation_explorer_app.py
Browse files
correlation_explorer_app.py
CHANGED
|
@@ -216,7 +216,7 @@ def update_visuals(x_var, y_var, year_range, mode, scope, dark_mode):
|
|
| 216 |
heatmap.update_layout(template="plotly_dark" if dark_mode else "plotly_white")
|
| 217 |
|
| 218 |
return fig, heatmap, corr_sentence
|
| 219 |
-
|
| 220 |
# 5. Run app
|
| 221 |
if __name__ == '__main__':
|
| 222 |
-
app.
|
|
|
|
| 216 |
heatmap.update_layout(template="plotly_dark" if dark_mode else "plotly_white")
|
| 217 |
|
| 218 |
return fig, heatmap, corr_sentence
|
| 219 |
+
server = app.server # Required for gunicorn
|
| 220 |
# 5. Run app
|
| 221 |
if __name__ == '__main__':
|
| 222 |
+
app.run_server(debug=True, host='0.0.0.0', port=7860)
|