[Update] Add hf_xet and huggingface-hub to requirements; enhance mainloop.py for Hugging Face caching

This commit is contained in:
misyaguziya
2025-05-27 14:12:20 +09:00
parent 63d853bf7d
commit 8dac3da933
6 changed files with 25 additions and 3 deletions

View File

@@ -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