Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def install_sam2():
|
|
| 44 |
os.chdir(sam2_dir)
|
| 45 |
|
| 46 |
# 先安装核心依赖
|
| 47 |
-
subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
|
| 48 |
|
| 49 |
# 以可编辑模式安装SAM2
|
| 50 |
subprocess.run(["pip", "install", "-e", "."], check=True)
|
|
|
|
| 44 |
os.chdir(sam2_dir)
|
| 45 |
|
| 46 |
# 先安装核心依赖
|
| 47 |
+
# subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
|
| 48 |
|
| 49 |
# 以可编辑模式安装SAM2
|
| 50 |
subprocess.run(["pip", "install", "-e", "."], check=True)
|