From 52ff26b0bd80321e54b24e9ca21062a86c060954 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 6 Oct 2024 22:59:17 +0200 Subject: [PATCH] sync --- endpoints/lollms_advanced.py | 1 + lollms_core | 2 +- scripts/windows/lollms_installer_V12.bat | 11 +++++++---- zoos/personalities_zoo | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/endpoints/lollms_advanced.py b/endpoints/lollms_advanced.py index 315cb42f..bdfa64ab 100644 --- a/endpoints/lollms_advanced.py +++ b/endpoints/lollms_advanced.py @@ -558,6 +558,7 @@ async def text_to_speech_file(request: TTSRequest): ) return FileResponse(file_path, media_type="audio/wav", filename="speech.wav") except Exception as e: + trace_exception(e) raise HTTPException(status_code=500, detail=str(e)) @router.post("/tts/stream") diff --git a/lollms_core b/lollms_core index 7fda303f..3a066c8b 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit 7fda303f2ecaf7f84de4f5f8ec5e74d0d40314aa +Subproject commit 3a066c8b70a51bcb6b89650be53f792393cacab7 diff --git a/scripts/windows/lollms_installer_V12.bat b/scripts/windows/lollms_installer_V12.bat index b0ec81a6..19db16a1 100644 --- a/scripts/windows/lollms_installer_V12.bat +++ b/scripts/windows/lollms_installer_V12.bat @@ -13,13 +13,12 @@ cd /D "%~dp0" echo %CD% -set LOLLMSENV_DIR=%CD%\installer_files\lollmsenv -set INSTALL_ENV_DIR=%CD%\installer_files\lollms_env +set LOLLMSENV_DIR=%CD%\lollmsenv set REPO_URL=https://github.com/ParisNeo/lollms-webui.git REM Download LollmsEnv installer echo Downloading LollmsEnv installer... -powershell -Command "Invoke-WebRequest -Uri 'https://github.com/ParisNeo/LollmsEnv/releases/download/V1.2.8/lollmsenv_installer.bat' -OutFile 'lollmsenv_installer.bat'" +powershell -Command "Invoke-WebRequest -Uri 'https://github.com/ParisNeo/LollmsEnv/releases/download/V1.2.9/lollmsenv_installer.bat' -OutFile 'lollmsenv_installer.bat'" REM Install LollmsEnv call lollmsenv_installer.bat --dir "%LOLLMSENV_DIR%" -y @@ -94,8 +93,12 @@ call "%LOLLMSENV_DIR%\bin\lollmsenv.bat" install-python 3.10.11 call "%LOLLMSENV_DIR%\bin\lollmsenv.bat" create-env lollms_env 3.10.11 pause REM Activate environment -call "%LOLLMSENV_DIR%\bin\lollmsenv.bat" activate lollms_env +REM call "%LOLLMSENV_DIR%\bin\lollmsenv.bat" activate lollms_env +venv activate lollms_env +echo cd "%ORIGINAL_PATH%" +cd "%ORIGINAL_PATH%" + REM Clone or update repository if exist lollms-webui\ ( cd lollms-webui diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo index 5afc96eb..211887d0 160000 --- a/zoos/personalities_zoo +++ b/zoos/personalities_zoo @@ -1 +1 @@ -Subproject commit 5afc96eb8036325e9560653d246311df3894e636 +Subproject commit 211887d037caafd0a39cb3a90bfb32a311c8f337