From e65187e47470f03798ddba2daa68fd78fbe142eb Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Mon, 14 Oct 2024 19:28:43 +0100 Subject: [PATCH] Update atsetup.bat --- atsetup.bat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/atsetup.bat b/atsetup.bat index a77eff7..018027e 100644 --- a/atsetup.bat +++ b/atsetup.bat @@ -574,24 +574,24 @@ echo. :transformers_choice echo. echo ======================================== IMPORTANT NOTICE =========================================== -echo Currently, Coqui-TTS and the XTTS engine requires transformers version 4.40.2 to generate streaming +echo Currently, Coqui-TTS and the XTTS engine requires transformers version 4.42.4 to generate streaming echo audio. XTTS can still generate standard non-streaming audio on any version of transformers. It is echo ONLY streaming audio that is affected and ONLY with the Coqui XTTS engine. So this would affect echo things like Kobold, or anywhere you use XTTS with streaming audio. echo. echo Parler-TTS states that it wants transformers version 4.43.3 but it appears to work fine with -echo transformers 4.40.2, however using transformers 4.40.2 generates a dependcy error message as -echo Parler-TTS is untested on 4.40.2 of transformers. +echo transformers 4.42.4, however using transformers 4.42.4 generates a dependcy error message as +echo Parler-TTS is untested on 4.42.4 of transformers. echo. echo Until the Coqui-TTS engine is updated to perform streaming with newer versions of transformers, if -echo you want to use streaming with XTTS, you will need to downgrade transformers to 4.40.2. +echo you want to use streaming with XTTS, you will need to downgrade transformers to 4.42.4. echo. echo AllTalk is NOT responsible for the maintainance or upkeep of the Coqui-TTS engine. echo. echo If you change your mind in future you can re-run atsetup and re-apply the requirements. echo ==================================================================================================== echo. -choice /C YN /M " Do you want to downgrade transformers to version 4.40.2 for XTTS streaming support?" +choice /C YN /M " Do you want to downgrade transformers to version 4.42.4 for XTTS streaming support?" if errorlevel 2 ( echo. echo Keeping transformers at version 4.43.3. @@ -600,13 +600,13 @@ if errorlevel 2 ( ) if errorlevel 1 ( echo. - echo Downgrading transformers to version 4.40.2... + echo Downgrading transformers to version 4.42.4 echo. - pip install transformers==4.40.2 + pip install transformers==4.42.4 if errorlevel 1 ( echo. echo Failed to downgrade transformers. Please check your internet connection and try manually later with: - echo pip install transformers==4.40.2 + echo pip install transformers==4.42.4 ) else ( echo. echo XTTS streaming should now work correctly.