Martechsol commited on
Commit ·
6d2eb5a
1
Parent(s): 0fbf496
Latest updates: Thu 05/28/2026 9:28:53.82
Browse files- push_to_hf.bat +7 -5
push_to_hf.bat
CHANGED
|
@@ -3,20 +3,22 @@ echo ===================================================
|
|
| 3 |
echo Hugging Face Push Utility
|
| 4 |
echo ===================================================
|
| 5 |
cd /d "%~dp0"
|
|
|
|
| 6 |
echo.
|
| 7 |
echo Staging changes...
|
| 8 |
-
git add
|
| 9 |
echo.
|
| 10 |
echo Committing changes...
|
| 11 |
-
git commit -m "
|
| 12 |
echo.
|
| 13 |
echo Setting Hugging Face remote...
|
| 14 |
git remote remove hf 2>nul
|
| 15 |
git remote add hf https://huggingface.co/spaces/joedown11/chatbot21
|
| 16 |
echo.
|
| 17 |
-
echo Pushing to Hugging Face repository
|
| 18 |
-
git push
|
| 19 |
echo.
|
| 20 |
echo ===================================================
|
| 21 |
-
echo Done!
|
|
|
|
| 22 |
pause
|
|
|
|
| 3 |
echo Hugging Face Push Utility
|
| 4 |
echo ===================================================
|
| 5 |
cd /d "%~dp0"
|
| 6 |
+
echo Current Directory: %CD%
|
| 7 |
echo.
|
| 8 |
echo Staging changes...
|
| 9 |
+
git add -A
|
| 10 |
echo.
|
| 11 |
echo Committing changes...
|
| 12 |
+
git commit -m "Latest updates: %date% %time%"
|
| 13 |
echo.
|
| 14 |
echo Setting Hugging Face remote...
|
| 15 |
git remote remove hf 2>nul
|
| 16 |
git remote add hf https://huggingface.co/spaces/joedown11/chatbot21
|
| 17 |
echo.
|
| 18 |
+
echo Pushing to Hugging Face repository...
|
| 19 |
+
git push hf main --force || git push hf master --force
|
| 20 |
echo.
|
| 21 |
echo ===================================================
|
| 22 |
+
echo Done! All your latest fixes have been pushed to Hugging Face.
|
| 23 |
+
echo Wait 1-2 minutes for Hugging Face to rebuild before testing the live URL.
|
| 24 |
pause
|