Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def setup_deps():
|
|
| 23 |
pass
|
| 24 |
|
| 25 |
print("🔧 Installing dependencies...")
|
| 26 |
-
run("pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu")
|
| 27 |
run("pip install -e .", cwd="segment-anything-2")
|
| 28 |
run("pip install --no-deps -r requirements_manual.txt")
|
| 29 |
|
|
|
|
| 23 |
pass
|
| 24 |
|
| 25 |
print("🔧 Installing dependencies...")
|
| 26 |
+
run("pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cpu")
|
| 27 |
run("pip install -e .", cwd="segment-anything-2")
|
| 28 |
run("pip install --no-deps -r requirements_manual.txt")
|
| 29 |
|