Fix activating venv

This commit is contained in:
litagin02
2024-03-16 17:26:05 +09:00
parent f2cc879603
commit 242e7ee2f0
4 changed files with 26 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ pause
git clone %REPO_URL%
if !errorlevel! neq 0 ( pause & popd & exit /b !errorlevel! )
@REM Pythonのセットアップ、仮想環境が有効化されて戻って来る
@REM Pythonのセットアップ
echo --------------------------------------------------
echo Setting up Python environment...
echo --------------------------------------------------
@@ -97,6 +97,14 @@ if !errorlevel! neq 0 ( popd & exit /b !errorlevel! )
@REM Style-Bert-VITS2フォルダに移動
pushd Style-Bert-VITS2
echo --------------------------------------------------
echo Activating the virtual environment...
echo --------------------------------------------------
echo Executing: call ".\venv\Scripts\activate.bat"
pause
call ".\venv\Scripts\activate.bat"
if !errorlevel! neq 0 ( popd & exit /b !errorlevel! )
echo --------------------------------------------------
echo Installing PyTorch...
echo --------------------------------------------------