From 280f0be690ee6ca7c4cbad2e1769ebbfa5f60401 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 28 Dec 2022 16:48:12 +0530 Subject: [PATCH] Disable symlink warnings on Windows for huggingface cache --- scripts/on_sd_start.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 1f787298..60f9c35d 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -326,6 +326,9 @@ call python --version @set SD_UI_PATH=%cd%\ui @cd stable-diffusion +@rem set any overrides +set HF_HUB_DISABLE_SYMLINKS_WARNING=true + @if NOT DEFINED SD_UI_BIND_PORT set SD_UI_BIND_PORT=9000 @if NOT DEFINED SD_UI_BIND_IP set SD_UI_BIND_IP=0.0.0.0 @uvicorn main:server_api --app-dir "%SD_UI_PATH%" --port %SD_UI_BIND_PORT% --host %SD_UI_BIND_IP% --log-level error