Clearer messages

This commit is contained in:
erew123 authored and GitHub committed 2024-11-11 11:23:09 +00:00
1 parent 80821081fb
commit 73c8c71be9
1 file changed
+21 -4
+21 -4
View File
@@ -419,6 +419,8 @@ if errorlevel 1 (
echo 6. Antivirus or security software interference.
echo 7. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
choice /C YN /M "Do you want to retry the Pytorch installation?"
if errorlevel 2 goto End
if errorlevel 1 goto install_pytorch
@@ -447,6 +449,8 @@ if errorlevel 1 (
echo 7. Your Conda policy is set to Strict see the Github Wiki for help with this.
echo 8. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
choice /C YN /M "Do you want to retry the Faiss installation?"
if errorlevel 2 goto End
if errorlevel 1 goto install_faiss
@@ -475,6 +479,8 @@ if errorlevel 1 (
echo 7. Your Conda policy is set to Strict see the Github Wiki for help with this.
echo 8. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
choice /C YN /M "Do you want to retry the FFmpeg installation?"
if errorlevel 2 goto End
if errorlevel 1 goto install_ffmpeg
@@ -506,6 +512,8 @@ if errorlevel 1 (
echo 6. Antivirus or security software interference.
echo 7. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
choice /C YN /M "Do you want to retry the Gradio update?"
if errorlevel 2 goto End
if errorlevel 1 goto update_gradio
@@ -521,7 +529,9 @@ echo.
if errorlevel 1 (
echo DeepSpeed download failed, errorlevel was %errorlevel%. There should be an error
echo message above with a code and/or text explanation of the issue. Please note
echo the error code to help with diagnotics.
echo the error code to help with diagnotics.
echo.
echo Generally speaking though, errors could be caused by:
echo.
echo 1. Internet connection issues/unable to reach GitHub.
echo 2. Disk space related issues - Check your disk space on this drive.
@@ -531,6 +541,8 @@ if errorlevel 1 (
echo 6. The file may have been moved or deleted from the GitHub repository.
echo 7. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
choice /C YN /M "Do you want to retry the DeepSpeed download?"
if errorlevel 2 goto End
if errorlevel 1 goto install_deepspeed
@@ -545,7 +557,9 @@ echo.
if errorlevel 1 (
echo DeepSpeed installation failed, errorlevel was %errorlevel%. There should be an error
echo message above with a code and/or text explanation of the issue. Please note
echo the error code to help with diagnotics.
echo the error code to help with diagnotics. General issues may be:
echo.
echo Generally speaking though, errors could be caused by:
echo.
echo 1. The DeepSpeed wheel file was not downloaded successfully in the previous step.
echo 2. Microsoft C++ development tools for Python are not installed correctly.
@@ -555,6 +569,8 @@ if errorlevel 1 (
echo 6. Antivirus or security software interference.
echo 7. Other issues not mentioned above.
echo.
echo Known errors are in the AllTalk Github Wiki > Error Messages Help/Support
echo.
echo Please ensure you have followed the instructions to install the Microsoft C++ development
echo tools for Python, which is detailed on the AllTalk GitHub page.
echo.
@@ -827,6 +843,7 @@ exit /b
:End
echo Exiting AllTalk Setup Utility...
Echo.
Echo Documentation is built into the Gradio interface. Please explore the documentation for
Echo tips, troubleshooing and explanations as most common questions are answered there.
Echo Documentation is built into the Gradio interface and the AllTalk Wiki page on Github.
Echo Please explore the documentation for tips, troubleshooing and explanations on the most
Echo common questions.
exit /b