geshang commited on
Commit
433a03e
·
verified ·
1 Parent(s): 12c4eca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def install_sam2():
30
  os.chdir(sam2_dir)
31
 
32
  # 安装依赖
33
- subprocess.run(["pip", "install", "-e", "."], check=True)
34
 
35
  # 切换到checkpoints目录下载模型
36
  os.chdir("checkpoints")
 
30
  os.chdir(sam2_dir)
31
 
32
  # 安装依赖
33
+ subprocess.run(["python","-m","pip", "install", "-e", "."], check=True)
34
 
35
  # 切换到checkpoints目录下载模型
36
  os.chdir("checkpoints")