2023-12-13 12:15:03 +00:00
2023-12-13 04:51:41 +00:00
2023-12-11 08:09:40 +00:00
2023-12-08 09:35:19 +00:00
2023-12-11 20:41:07 +00:00
2023-12-08 09:35:53 +00:00
2023-12-08 09:35:53 +00:00
2023-12-08 09:35:53 +00:00
2023-12-13 12:15:03 +00:00
2023-12-08 09:35:53 +00:00
2023-12-13 12:11:28 +00:00

AllTalk TTS

AllTalk is an updated version of the Coqui_tts extension for Text Generation web UI. Features include:

  • Custom Start-up Settings: Adjust your default start-up settings. Screenshot
  • Narrarator: Use different voices for main character and narration. Example Narration
  • Low VRAM mode: Improve generation performance if your VRAM is filled by your LLM. Screenshot
  • DeepSpeed: When DeepSpeed is installed you can get a 3-4x performance boost generating TTS.
  • Local/Custom models: Use any of the XTTSv2 models (API Local and XTTSv2 Local).
  • Optional wav file maintenance: Configurable deletion of old output wav files. Screenshot
  • Documentation: Fully documented with a built in webpage. Screenshot
  • Console output Clear command line output for any warnings or issues.
  • Standalone/3rd Party support via JSON calls Can be used with 3rd party applications via JSON calls.

Updates

The latest build (13 Dec 2023) has had the entire text filtering engine and narration engine rebuilt from scratch. It's highly complicated how its actually working, but the end result it a much clearer TTS output and much better control over the narrator option and how to handle text that isnt within quotes or asterisks. Its a highly recommened update, for the improved quality it gives to the TTS output, if nothing else.

Should you want the older version of the narrator engine+text filtering, I will leave this older copy here

The one thing I cant easily work around

With a RP chat with your AI, on your character card parameters menu > character tab > greeting make sure that anything in there that is the narrator is in asterisks and anything spoken is in double quotes, then hit the save (disk) button. Greeting paragraphs/sentences are handled differently from how the AI sends text and so its difficut to account for them both.

I could force a delimeter in at this stage, but I know it would/may affect things further down the line in the chat and I need a good think about that before just making a change. This issue only affects the greeting card/start of conversation and the "example" card that comes with text-generation-webui suffers this issue (if you want to try it for yourself). So you would put double quotes around like this (from the example card):

"Hey! I'm so excited to finally meet you. I've heard so many great things about you and I'm eager to pick your brain about computers. I'm sure you have a wealth of knowledge that I can learn from."

Installation on Text generation web UI

This has been tested on the current Dec 2023 release of Text generation webUI. If you have not updated it for a while, you may wish to update Text generation webUI, instructions here

  1. In a command prompt/terminal window you need to move into your Text generation webUI folder:

cd text-generation-webui

  1. Start the Text generation webUI Python environment for your OS:

cmd_windows.bat, ./cmd_linux.sh, cmd_macos.sh or cmd_wsl.bat

  1. Move into your extensions folder:

cd extensions

  1. Once there git clone this repository:

git clone https://github.com/erew123/alltalk_tts

  1. Move into the alltalk_tts folder:

cd alltalk_tts

  1. Install the requirements:

Nvidia graphics card machines - pip install -r requirements_nvidia.txt

Other machines (mac, amd etc) - pip install -r requirements_other.txt

  1. You can now start move back to the main Text generation webUI folder cd .. (a few times), start Text generation webUI (start_windows.bat,./start_linux.sh, start_macos.sh or start_wsl.bat) and load the AllTalk extension in the Text generation webUI session tab.

Note: It can take a while to start up. Check the command prompt/terminal window if you want to know what its doing. After it says "Model Loaded" the Text generation webUI is usually available on its IP address a few seconds later, for you to connect to in your browser.

Documentation: Click on the link when inside Text generation webUI as shown in the screenshot here

Where to find voices https://aiartes.com/voiceai or https://commons.wikimedia.org/ or interviews on youtube etc. Instructions on how to cut down and prepare a voice sample are within the built in documentation.

Other installation notes

On first startup, AllTalk will download the Coqui XTTSv2 2.0.2 model to its models folder (1.8GB space required). You can customse your model or use the TTS latest model within the interface (details in documentation).

Once the extension is loaded, please find all documentation and settings on the link provided in the interface (as shown in the screenshot below).

To start AllTalk every Text generation webUI loads, edit the Text generation webUI CMD_FLAGS.txt file in the main text-generation-webui folder and add --extensions alltalk_tts.

Screenshots

image image
S
Description
AllTalk is based on the Coqui TTS engine, similar to the Coqui_tts extension for Text generation webUI, however supports a variety of advanced features, such as a settings page, low VRAM support, DeepSpeed, narrator, model finetuning, custom models,
Readme AGPL-3.0
94 MiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 46.8%
Python 37.1%
JavaScript 9.9%
Batchfile 3%
Shell 2.4%
Other 0.8%