Spaces:
Sleeping
Sleeping
github-actions[bot]
commited on
Commit
·
9791c30
1
Parent(s):
5626843
Sync from main@cabf510
Browse files
predicting_outcomes_in_heart_failure/app/entrypoint.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env sh
|
| 2 |
+
set -e
|
| 3 |
+
|
| 4 |
+
echo "[entrypoint] Checking DVC metadata..."
|
| 5 |
+
|
| 6 |
+
if [ -d ".dvc" ] || [ -f "dvc.yaml" ]; then
|
| 7 |
+
echo "[entrypoint] Running dvc pull..."
|
| 8 |
+
uv run dvc pull -v
|
| 9 |
+
else
|
| 10 |
+
echo "[entrypoint] No DVC metadata found, skipping dvc pull."
|
| 11 |
+
fi
|
| 12 |
+
|
| 13 |
+
exec "$@"
|