idk
Browse files- app.py +2 -8
- requirements.txt +2 -2
app.py
CHANGED
|
@@ -891,11 +891,5 @@ def clear_search(n_clicks):
|
|
| 891 |
return dash.no_update
|
| 892 |
|
| 893 |
|
| 894 |
-
if __name__ ==
|
| 895 |
-
|
| 896 |
-
import os
|
| 897 |
-
port = int(os.environ.get("PORT", 7860))
|
| 898 |
-
# Run Dash's built-in server for local/debug runs. In production (Spaces) we'll
|
| 899 |
-
# use a Docker container and a WSGI server (gunicorn) which should point to
|
| 900 |
-
# the Flask `server` object defined above (`server = app.server`).
|
| 901 |
-
app.run_server(host="0.0.0.0", port=port, debug=False)
|
|
|
|
| 891 |
return dash.no_update
|
| 892 |
|
| 893 |
|
| 894 |
+
if __name__ == '__main__':
|
| 895 |
+
app.run(debug=False, port=8050)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
dash
|
| 2 |
plotly
|
| 3 |
pandas
|
| 4 |
-
|
| 5 |
-
|
|
|
|
| 1 |
dash
|
| 2 |
plotly
|
| 3 |
pandas
|
| 4 |
+
gunicorn
|
| 5 |
+
pyarrow
|