From 091c50398df8a3dd8886c801aaa4324fb98c17c6 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 17 Jan 2024 15:46:18 -0500 Subject: [PATCH] Update app.py --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index bdbcf9c..419401b 100644 --- a/app.py +++ b/app.py @@ -44,6 +44,8 @@ from views import scatter_2d_right_view from views import violin_view +from flaskwebgui import FlaskUI + server = app.server app.scripts.config.serve_locally = True @@ -88,4 +90,5 @@ if __name__ == "__main__": - app.run_server(debug=True, threaded=True, processes=1, host="0.0.0.0") + # app.run_server(debug=True, threaded=True, processes=1, host="0.0.0.0") + FlaskUI(app=server, server="flask", port=46734).run() \ No newline at end of file