Skip to content

A very simple implementation of edge_tts w/ RVC for oobabooga text-generation-webui.

Notifications You must be signed in to change notification settings

BuffMcBigHuge/text-generation-webui-edge-tts

Repository files navigation

text-generation-webui-edge-tts

A simple extension for the text-generation-webui by oobabooga that uses edge_tts for audio output. It also supports post-processing using RVC.

text-generation-webui-edge-tts

How to install

Assuming you already have the text-generation-webui set up (min version 1.6.1):

  1. Activate the conda environment using conda activate textgen
  2. Enter the text-generation-webui/extensions/ directory and clone this repository
cd text-generation-webui/extensions/
git clone https://github.com/BuffMcBigHuge/text-generation-webui-edge-tts.git edge_tts/
  1. Install the requirements
pip install -r edge_tts/requirements.txt
  1. Add --extensions edge_tts to your startup script
    or
    enable it through the Session tab in the webui
  2. Download the required RVC models and place them in the extensions/edge_tts/models folder
curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt
curl -L -O https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt
  1. Add your .pth files to extensions/edge_tts/rvc_models

Notes

Edge TTS is a free API provided by Microsoft. An internet connection is required for the TTS to function.

RVC was inspired by rvc-tts-webui

About

A very simple implementation of edge_tts w/ RVC for oobabooga text-generation-webui.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages