Spaces:
Build error
Build error
Update install.bat
Browse files- install.bat +2 -2
install.bat
CHANGED
|
@@ -3,8 +3,8 @@
|
|
| 3 |
rem -------------------------------------------
|
| 4 |
rem NOT guaranteed to work on Windows
|
| 5 |
|
| 6 |
-
set REPOS=https://huggingface.co/spaces/aka7774/whisper
|
| 7 |
set APPDIR=whisper
|
|
|
|
| 8 |
set VENV=venv
|
| 9 |
|
| 10 |
rem -------------------------------------------
|
|
@@ -29,7 +29,7 @@ set GIT=%INSTALL_DIR%PortableGit\bin\git
|
|
| 29 |
%GIT% clone %REPOS%
|
| 30 |
|
| 31 |
:install_python
|
| 32 |
-
set DL_URL=https://github.com/indygreg/python-build-standalone/releases/download/
|
| 33 |
set DL_DST="%INSTALL_DIR%python.tar.gz"
|
| 34 |
curl -L -o %DL_DST% %DL_URL%
|
| 35 |
if not exist %DL_DST% bitsadmin /transfer dl %DL_URL% %DL_DST%
|
|
|
|
| 3 |
rem -------------------------------------------
|
| 4 |
rem NOT guaranteed to work on Windows
|
| 5 |
|
|
|
|
| 6 |
set APPDIR=whisper
|
| 7 |
+
set REPOS=https://huggingface.co/spaces/aka7774/%APPDIR%
|
| 8 |
set VENV=venv
|
| 9 |
|
| 10 |
rem -------------------------------------------
|
|
|
|
| 29 |
%GIT% clone %REPOS%
|
| 30 |
|
| 31 |
:install_python
|
| 32 |
+
set DL_URL=https://github.com/indygreg/python-build-standalone/releases/download/20240415/cpython-3.10.14+20240415-x86_64-pc-windows-msvc-shared-install_only.tar.gz
|
| 33 |
set DL_DST="%INSTALL_DIR%python.tar.gz"
|
| 34 |
curl -L -o %DL_DST% %DL_URL%
|
| 35 |
if not exist %DL_DST% bitsadmin /transfer dl %DL_URL% %DL_DST%
|