Update atsetup.bat
This commit is contained in:
1 parent
7a6061491d
commit
e65187e474
1 file changed
+8
-8
+8
-8
@@ -574,24 +574,24 @@ echo.
|
|||||||
:transformers_choice
|
:transformers_choice
|
||||||
echo.
|
echo.
|
||||||
echo ======================================== IMPORTANT NOTICE ===========================================
|
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 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 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 things like Kobold, or anywhere you use XTTS with streaming audio.
|
||||||
echo.
|
echo.
|
||||||
echo Parler-TTS states that it wants transformers version 4.43.3 but it appears to work fine with
|
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 transformers 4.42.4, however using transformers 4.42.4 generates a dependcy error message as
|
||||||
echo Parler-TTS is untested on 4.40.2 of transformers.
|
echo Parler-TTS is untested on 4.42.4 of transformers.
|
||||||
echo.
|
echo.
|
||||||
echo Until the Coqui-TTS engine is updated to perform streaming with newer versions of transformers, if
|
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.
|
||||||
echo AllTalk is NOT responsible for the maintainance or upkeep of the Coqui-TTS engine.
|
echo AllTalk is NOT responsible for the maintainance or upkeep of the Coqui-TTS engine.
|
||||||
echo.
|
echo.
|
||||||
echo If you change your mind in future you can re-run atsetup and re-apply the requirements.
|
echo If you change your mind in future you can re-run atsetup and re-apply the requirements.
|
||||||
echo ====================================================================================================
|
echo ====================================================================================================
|
||||||
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 (
|
if errorlevel 2 (
|
||||||
echo.
|
echo.
|
||||||
echo Keeping transformers at version 4.43.3.
|
echo Keeping transformers at version 4.43.3.
|
||||||
@@ -600,13 +600,13 @@ if errorlevel 2 (
|
|||||||
)
|
)
|
||||||
if errorlevel 1 (
|
if errorlevel 1 (
|
||||||
echo.
|
echo.
|
||||||
echo Downgrading transformers to version 4.40.2...
|
echo Downgrading transformers to version 4.42.4
|
||||||
echo.
|
echo.
|
||||||
pip install transformers==4.40.2
|
pip install transformers==4.42.4
|
||||||
if errorlevel 1 (
|
if errorlevel 1 (
|
||||||
echo.
|
echo.
|
||||||
echo Failed to downgrade transformers. Please check your internet connection and try manually later with:
|
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 (
|
) else (
|
||||||
echo.
|
echo.
|
||||||
echo XTTS streaming should now work correctly.
|
echo XTTS streaming should now work correctly.
|
||||||
|
|||||||
Reference in new issue
Block a user