Hakureirm commited on
Commit
10bcab1
·
verified ·
1 Parent(s): b9cb794

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ except ImportError:
20
  # 全局变量
21
  analyzer = None
22
  video_file_path = None
23
- model_file_path = "weights/fst-v1.2-n.onnx" # 直接指定模型文件路径
24
  total_frames = 0
25
  output_path = None
26
 
@@ -324,4 +324,4 @@ if __name__ == "__main__":
324
  app.launch()
325
  else:
326
  # 本地环境的启动方式
327
- app.launch(server_name="127.0.0.1", server_port=7860, share=False)
 
20
  # 全局变量
21
  analyzer = None
22
  video_file_path = None
23
+ model_file_path = "./fst-v1.2-n.onnx" # 直接指定模型文件路径
24
  total_frames = 0
25
  output_path = None
26
 
 
324
  app.launch()
325
  else:
326
  # 本地环境的启动方式
327
+ app.launch(server_name="0.0.0.0", server_port=7860, share=False)