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