From 5e1e198a1f3bebb4cf96bbf59fe0792fbd52216f Mon Sep 17 00:00:00 2001 From: JeLuF Date: Mon, 20 Feb 2023 23:02:27 +0100 Subject: [PATCH] Copy SSL DLLs Prevent the 'SSL module is not available' error message --- 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 0ee66c2f..bb05e9a4 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -61,6 +61,9 @@ if exist "GFPGANv1.3.pth" move GFPGANv1.3.pth ..\models\gfpgan\ if exist "RealESRGAN_x4plus.pth" move RealESRGAN_x4plus.pth ..\models\realesrgan\ if exist "RealESRGAN_x4plus_anime_6B.pth" move RealESRGAN_x4plus_anime_6B.pth ..\models\realesrgan\ +if not exist "%INSTALL_ENV_DIR%\DLLs\libssl-1_1-x64.dll" copy "%INSTALL_ENV_DIR%\Library\bin\libssl-1_1-x64.dll" "%INSTALL_ENV_DIR%\DLLs\" +if not exist "%INSTALL_ENV_DIR%\DLLs\libcrypto-1_1-x64.dll" copy "%INSTALL_ENV_DIR%\Library\bin\libcrypto-1_1-x64.dll" "%INSTALL_ENV_DIR%\DLLs\" + @rem install torch and torchvision call python ..\scripts\check_modules.py torch torchvision if "%ERRORLEVEL%" EQU "0" (