MD Mahadi commited on
Delete hf_sync.sh
Browse files- hf_sync.sh +0 -26
hf_sync.sh
DELETED
|
@@ -1,26 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
REPO="userbymahadi/TermX-DB"
|
| 4 |
-
FOLDER="."
|
| 5 |
-
|
| 6 |
-
while true
|
| 7 |
-
do
|
| 8 |
-
echo "[$(date)] Uploading to Hugging Face..."
|
| 9 |
-
|
| 10 |
-
hf upload "$REPO" "$FOLDER" \
|
| 11 |
-
--repo-type dataset \
|
| 12 |
-
--exclude ".cache/*" \
|
| 13 |
-
--exclude ".cache" \
|
| 14 |
-
--exclude "app.py" \
|
| 15 |
-
--exclude "Dockerfile" \
|
| 16 |
-
--exclude "README.md" \
|
| 17 |
-
--exclude "hf_sync.sh" \
|
| 18 |
-
--exclude "hf_sync.log" \
|
| 19 |
-
--exclude "start.sh" \
|
| 20 |
-
--exclude ".git/*" \
|
| 21 |
-
--exclude "__pycache__/*" \
|
| 22 |
-
--commit-message "auto update"
|
| 23 |
-
|
| 24 |
-
echo "Upload complete. Sleeping 5 minutes..."
|
| 25 |
-
sleep 600
|
| 26 |
-
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|