From 55a9353a551faa2c43ca0c08c8d435c3468b7c7f Mon Sep 17 00:00:00 2001
From: erew123 <35898566+erew123@users.noreply.github.com>
Date: Wed, 16 Oct 2024 07:58:11 +0100
Subject: [PATCH] Add files via upload
---
system/gradio_pages/alltalk_welcome.py | 42 +++++++++++---------------
1 file changed, 18 insertions(+), 24 deletions(-)
diff --git a/system/gradio_pages/alltalk_welcome.py b/system/gradio_pages/alltalk_welcome.py
index f277026..275b784 100644
--- a/system/gradio_pages/alltalk_welcome.py
+++ b/system/gradio_pages/alltalk_welcome.py
@@ -12,30 +12,24 @@ def modify_config():
json.dump(config, f, indent=4)
return f"Welcome screen is disabled."
-def alltalk_welcome():
+def alltalk_welcome(analytics_enabled=False):
welcome = """
- ## 🟧 Welcome the the AllTalk v2 BETA
- Thanks for trying out the BETA. Ive no doubt there will be bugs and quirks here and there. Most errors/issues should have outputs at the command prompt/console.
-
- I have validated this BETA to run on Windows/Linux, because I dont have a Mac. With Python 3.11.9, Pytorch 2.2.1 with CUDA 12.1 extensions installed. Thats not to say it wont work on Mac or other versions of Python and Pytorch, its just there would be some extra testing/figuring things out to make it work. Obviously, I am kind of a bit limited to do that on Mac's. Certainly Mac's dont need the Nvidia lines in the requirements file and I cannot say how certain engines will/wont work/perform on Mac's.
+ ## 🟧 AllTalk v2 BETA
+ For detailed information on using AllTalk, please look at the WIKI Github page https://github.com/erew123/alltalk_tts/wiki for the most up-to-date information, however some information is built in on the Documentation and Help tab section up above.
+
+ Please use the **Light/Dark Mode** button at the top right of this page to make it easier to read. I would suggest reading the TLDR's on this page before you disable this splash screen.
"""
- welcome2 = """
- ### 🟧 Important Requirements
- > Please ensure that you have installed Espeak-ng for your platform (you should get and error message at the command prompt/terminal if you havnt).
-
- > Linux users, you should have installed `libaio-dev` or `libaio-devl` (depending on your Linux flavour), otherwise DeepSpeed will fail e.g.
- > **Debian-based systems** `sudo apt install libaio-dev`
- > **RPM-based systems** `sudo yum install libaio-devel`
-
+ welcome2 = """
### 🟧 TLDR what you need to do
- > **Download Voices/Models** - Go to the `TTS Engines Settings` > Choose the engine you want > `Model/Voices Download`. Additional instructions/information about each engine, its specific settings, how to work with it, are all stored here.
+ > **Generating TTS & Swapping TTS Engines** - You can do this on the Generate TTS tab, Swap Engines (Piper, Parler, VITS, XTTS etc) and also choose which model to load for the currently loaded TTS Engine. There is a Generate help tab on the Generate TTS page for more details.
- > **RVC & RVC Voices** - Enable RVC in `Gloabl Settings` > `RVC Settings`. RVC will download about 800MB of models that it needs to work. If you want more information on RVC, please read `Documentation & Help` > `RVC`.
+ > **Download Voices/Models** - Go to the `TTS Engines Settings` > Choose the engine you want > `Model/Voices Download`. Additional instructions/information about each TTS engine, its specific settings, how to use it, are all stored here.
- > **Documentation** - Gradio isnt great at documentation, so use `Light/Dark Mode` to make reading easier, along with your browsers zoom function. Documentation is on the `Documentation & Help` tab.
-
- > **Check the console** for errors/warnings if you have problems. I have **tried** to cover most issues/possible errors.
+ > **RVC & RVC Voices** - To make RVC work, you have to enable RVC in `Gloabl Settings` > `RVC Settings`. RVC will download about 800MB of models that it needs to work. [RVC WIKI page link](https://github.com/erew123/alltalk_tts/wiki/RVC-(Retrieval%E2%80%90based-Voice-Conversion)
+
+ ### 🟧 Error Message at the Console/Terminal
+ > I am mantaining an up-to-date list of known error messages and fixes on the [Error Messages WIKI page](https://github.com/erew123/alltalk_tts/wiki/Error-Messages-List)
### 🟧 Showing Your Support
> If AllTalk has been helpful to you, consider showing your support through a donation on my **[Ko-fi page](https://ko-fi.com/erew123)**. Your support is greatly appreciated and helps ensure the continued development and improvement of AllTalk.
@@ -43,16 +37,16 @@ def alltalk_welcome():
welcome3 = """
### 🟧 SillyTavern users
- > There is an updated ST extension in the `alltalk_tts\system\SillyTavern Extension\` folder. Instructions to install the update into SillyTaven are inside the folder.
+ > There is an updated ST extension and instructions for installation are in the [SillyTavern Extension WIKI page](https://github.com/erew123/alltalk_tts/wiki/SillyTavern-Extension).
### 🟧 DeepSpeed on Linux
- > I've not managed to update the documentation, but if you are **NOT** using AllTalk as a standalone on Linux, take a look here and this should ease the setup of DeepSpeed https://github.com/erew123/alltalk_tts/releases/tag/DeepSpeed-14.2-Linux
+ > If you need DeepSpeed for Linux, please see the [DeepSpeed Releases page](https://github.com/erew123/alltalk_tts/releases/tag/DeepSpeed-14.2-Linux).
- ### 🟧 Text-generation-webui users
- > TGWUI now also supports a remote AllTalk server extension. if you want to run AllTalk on a computer that is NOT your AllTalk system. Please look in `alltalk_tts\system\TGWUI Extension` for instructions.
+ ### 🟧 Text-generation-webui Remote Extension
+ > AllTalk now ALSO has a TGWUI remote server extension, allowing you to install AllTalk outside of TGWUI's Python environment. Please see [TGWUI Remote Extension WIKI page](https://github.com/erew123/alltalk_tts/wiki/Text%E2%80%90generation%E2%80%90webui-Remote-Extension).
- ### 🟧 Why is X feature no in the BETA yet? Or I have a great idea!
- Mostly because of time restrains. V2 has been a massive re-write of code in the 100's of hours range to get it where it is. Please do check the Feature Requests list here https://github.com/erew123/alltalk_tts/discussions/74. I will get to them when I can. People are welcome to work on code/test things out with this version if they wish. I will set up a page for feeback on the **Github Discussions Board** https://github.com/erew123/alltalk_tts/discussions
+ ### 🟧 Future features/Feature Requests
+ > The current list is available here [Feature Request List page](https://github.com/erew123/alltalk_tts/discussions/74)
### 🟧 Can I add other TTS engines?
Yes if you have a bit of coding experience. All the Coqui supported engines should be pretty easy to set up now, I just havnt gotten around it yet. Other engines like Piper and Parler have been done of course, showing other engines can be imported. Rough instructions are in the `system/tts_engines/template` folder.