AlanRex commited on
Commit
e92eaa7
·
1 Parent(s): c86be9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1416,7 +1416,8 @@ if __name__ == '__main__':
1416
  print(f"PMI資料預覽:\n{pmi_data.head()}")
1417
 
1418
  # 在 Colab 中需要使用以下方式啟動
1419
- app.run(mode='inline', port=8050, debug=True)
 
1420
 
1421
  # 如果在本地環境執行,使用以下方式
1422
  # app.run_server(debug=True)
 
1416
  print(f"PMI資料預覽:\n{pmi_data.head()}")
1417
 
1418
  # 在 Colab 中需要使用以下方式啟動
1419
+ app.run_server(host="0.0.0.0", port=7860, debug=True)
1420
+
1421
 
1422
  # 如果在本地環境執行,使用以下方式
1423
  # app.run_server(debug=True)