Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiepeng committed Jul 9, 2024
1 parent 7900852 commit 1456eb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"""

from waitress import serve
import webbrowser
# import webbrowser

import dash
from dash.dependencies import Input, Output
Expand Down Expand Up @@ -118,6 +118,6 @@
if __name__ == "__main__":
# app.run_server(debug=True, threaded=True, processes=1, host="0.0.0.0")

webbrowser.open("http://127.0.0.1:8000", new=0, autoraise=True)
# webbrowser.open("http://127.0.0.1:8000", new=0, autoraise=True)

serve(app.server, listen="*:8000")
2 changes: 1 addition & 1 deletion app.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a = Analysis(['app.py'],
pathex=['./sensorview'],
binaries=[],
datas=[('./assets', 'assets'), ('./assets/fonts/bootstrap-icons.woff', "assets/fonts"), ('./assets/fonts/bootstrap-icons.woff2', "assets/fonts"), ("./view_callbacks", "view_callbacks")],
hiddenimports=['clr'],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
Expand Down

0 comments on commit 1456eb8

Please sign in to comment.