Update build.cmd
Browse files
build.cmd
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
:; [ ! -f www/chatbot.js ] && echo Pobieranie www/chatbot.js... && curl --create-dirs -Lo www/chatbot.js https://huggingface.co/jglowa/prosty-rag/resolve/main/www/chatbot.js?download=true && echo Gotowe!
|
| 8 |
:; chmod +x zipalign llamafile
|
| 9 |
:; cp llamafile prosty-rag.llamafile
|
| 10 |
-
:; echo Budowanie... && ./zipalign prosty-rag.llamafile .args www/chatbot.js && echo Gotowe! Uruchom ./prosty-rag.cmd i otw贸rz http://localhost:8080 w przegl膮darce internetowej.; exit $?
|
| 11 |
:; # Windows:
|
| 12 |
@echo off
|
| 13 |
chcp 65001 >nul
|
|
@@ -16,4 +16,4 @@ if not exist llamafile.exe echo Pobieranie llamafile.exe... && curl -Lo llamafil
|
|
| 16 |
if not exist .args echo Pobieranie .args... && curl -Lo .args https://huggingface.co/jglowa/prosty-rag/resolve/main/.args?download=true && echo Gotowe!
|
| 17 |
if not exist www\chatbot.js echo Pobieranie www\chatbot.js... && curl --create-dirs -Lo www\chatbot.js https://huggingface.co/jglowa/prosty-rag/resolve/main/www/chatbot.js?download=true && echo Gotowe!
|
| 18 |
copy /b /y llamafile.exe prosty-rag.llamafile >NUL
|
| 19 |
-
echo Budowanie... && zipalign prosty-rag.llamafile .args www/chatbot.js && echo Gotowe! Uruchom prosty-rag.cmd i otw贸rz http://localhost:8080 w przegl膮darce internetowej.
|
|
|
|
| 7 |
:; [ ! -f www/chatbot.js ] && echo Pobieranie www/chatbot.js... && curl --create-dirs -Lo www/chatbot.js https://huggingface.co/jglowa/prosty-rag/resolve/main/www/chatbot.js?download=true && echo Gotowe!
|
| 8 |
:; chmod +x zipalign llamafile
|
| 9 |
:; cp llamafile prosty-rag.llamafile
|
| 10 |
+
:; echo Budowanie prosty-rag.llamafile... && ./zipalign prosty-rag.llamafile .args www/chatbot.js && echo Gotowe! Uruchom ./prosty-rag.cmd i otw贸rz http://localhost:8080 w przegl膮darce internetowej.; exit $?
|
| 11 |
:; # Windows:
|
| 12 |
@echo off
|
| 13 |
chcp 65001 >nul
|
|
|
|
| 16 |
if not exist .args echo Pobieranie .args... && curl -Lo .args https://huggingface.co/jglowa/prosty-rag/resolve/main/.args?download=true && echo Gotowe!
|
| 17 |
if not exist www\chatbot.js echo Pobieranie www\chatbot.js... && curl --create-dirs -Lo www\chatbot.js https://huggingface.co/jglowa/prosty-rag/resolve/main/www/chatbot.js?download=true && echo Gotowe!
|
| 18 |
copy /b /y llamafile.exe prosty-rag.llamafile >NUL
|
| 19 |
+
echo Budowanie prosty-rag.llamafile... && zipalign prosty-rag.llamafile .args www/chatbot.js && echo Gotowe! Uruchom prosty-rag.cmd i otw贸rz http://localhost:8080 w przegl膮darce internetowej.
|