[Update] Add hf_xet and huggingface-hub to requirements; enhance mainloop.py for Hugging Face caching
This commit is contained in:
11
install.bat
11
install.bat
@@ -1,6 +1,17 @@
|
||||
REM .venv .venv_cuda があれば削除
|
||||
if exist .venv (
|
||||
rmdir /s /q .venv
|
||||
)
|
||||
|
||||
if exist .venv_cuda (
|
||||
rmdir /s /q .venv_cuda
|
||||
)
|
||||
|
||||
REM .venv .venv_cuda を作成
|
||||
python -m venv .venv
|
||||
python -m venv .venv_cuda
|
||||
|
||||
REM .venv .venv_cuda に必要なパッケージをインストール
|
||||
call .venv/Scripts/activate
|
||||
python.exe -m pip install --upgrade pip
|
||||
pip install --no-cache-dir --force-reinstall -r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user