mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
sync
This commit is contained in:
parent
88f0160636
commit
52ff26b0bd
@ -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")
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7fda303f2ecaf7f84de4f5f8ec5e74d0d40314aa
|
||||
Subproject commit 3a066c8b70a51bcb6b89650be53f792393cacab7
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 5afc96eb8036325e9560653d246311df3894e636
|
||||
Subproject commit 211887d037caafd0a39cb3a90bfb32a311c8f337
|
Loading…
Reference in New Issue
Block a user