File size: 1,226 Bytes
cc80c12 ffdd869 cc80c12 ffdd869 cc80c12 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
@echo off
REM ############################################################################
REM
REM Instructions
REM
REM ############################################################################
REM
REM HF_HUB_OFFLINE
REM
REM To allow data to download, set HF_HUB_OFFLINE to 0. Do not include
REM any spaces before or after the equals sign. Once you have used each
REM model, the refiner, and the upscaler, I recommend setting this back
REM to 1. If you don't, model data will often download even though you
REM don't need an updated version. The older versions will not be deleted
REM automatically. That means your drive would eventually run out of
REM space if you never deleted older versions.
set HF_HUB_OFFLINE=1
REM HF_HUB_DISABLE_TELEMETRY
REM
REM This disables telemetry.
REM
REM About:
REM
REM https://huggingface.co/docs/huggingface_hub/package_reference/environment_variables#hfhubdisabletelemetry
set HF_HUB_DISABLE_TELEMETRY=1
REM ############################################################################
cd C:\Diffusers
call .venv\Scripts\activate.bat
REM timeout /t 0 >nul
py .venv\ai_image_creation\app.py
cmd /k |