Spaces:
Running
Running
Update download_assets.sh
Browse files- download_assets.sh +1 -5
download_assets.sh
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
JSON_FILE="
|
| 4 |
-
|
| 5 |
-
# Install jq, curl, and gdown
|
| 6 |
-
apt-get update && apt-get install -y jq curl python3-pip
|
| 7 |
-
pip install gdown
|
| 8 |
|
| 9 |
# Parse top-level ID
|
| 10 |
TOP_ID=$(jq -r '.[0].id' "$JSON_FILE")
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
JSON_FILE="demos/demos.json" # Change this path if needed
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# Parse top-level ID
|
| 6 |
TOP_ID=$(jq -r '.[0].id' "$JSON_FILE")
|