Spaces:
Running on Zero
Running on Zero
fix(setup): replace `|| true` with explicit existence check for refresh_models.py
Browse files
setup.sh
CHANGED
|
@@ -39,7 +39,11 @@ echo "▶ Installing AIO app dependencies"
|
|
| 39 |
pip install -r requirements.txt
|
| 40 |
|
| 41 |
echo "▶ Symlinking models from HF cache"
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
echo
|
| 45 |
echo "✓ Setup complete."
|
|
|
|
| 39 |
pip install -r requirements.txt
|
| 40 |
|
| 41 |
echo "▶ Symlinking models from HF cache"
|
| 42 |
+
if [[ -f tools/refresh_models.py ]]; then
|
| 43 |
+
python tools/refresh_models.py
|
| 44 |
+
else
|
| 45 |
+
echo " (tools/refresh_models.py not yet present — skipping; will be added in Task 16)"
|
| 46 |
+
fi
|
| 47 |
|
| 48 |
echo
|
| 49 |
echo "✓ Setup complete."
|