Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|