Giter VIP home page Giter VIP logo

voicevox_tts's Introduction

voicevox-tts


voicevox tts for oobabooga/text-generation-webui.

Install


  1. Create conda environment following by text-generation-webui#manual-installation-using-conda
  2. Clone this repository and cd into repository folder.
git clone https://github.com/asadfgglie/voicevox-tts.git
cd voicevox-tts
  1. Activate textgen environment make from text-generation-webui#manual-installation-using-conda, and use pip install dependency
conda activate textgen
pip install -r requirements.txt
  1. Install voicevox engine following by VOICEVOX/voicevox_engine
  2. Start text-generation-webui and go to Session > Install or update an extension, and put https://github.com/asadfgglie/voicevox-tts in it.
  3. Press ENTER to install

How to use


  1. Before enable this extension, you must start voicevox_engine, make sure it is running on default port 50021.
  2. Enable this extension
  3. Select Speaker, style
  4. Chat with bot!

Feature


  • You can test voice by click Play button.
  • You can change your voicevox engine server by click Refresh button.
  • You can change speaker by change TTS voice.

voicevox_tts's People

Contributors

asadfgglie avatar

Stargazers

Del avatar TudoHuang avatar  avatar  avatar

Watchers

 avatar

voicevox_tts's Issues

gradio error when oobabooga UI loads

Hello, thank you for your hard work on a very interesting extension. I'm trying it out but am having issues enabling the extension once everything is installed. I have voicevox_engine installed, I can see that the server is running when I enable the extension in oobabooga.

Oobabooga seems to load up, but once the UI begins to load I get the following error:


  • WARNING: You haven't downloaded any model yet.
  • Once the web UI launches, head over to the "Model" tab and download one.

bin L:\OobOct24\text-generation-webui-main\installer_files\env\Lib\site-packages\bitsandbytes\libbitsandbytes_cuda121.dll
2023-10-31 18:14:39 INFO:Loading the extension "gallery"...
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().
Closing server running on port: 7860
2023-10-31 18:14:47 INFO:Loading the extension "gallery"...
2023-10-31 18:14:47 INFO:Loading the extension "voicevox_tts"...
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().
2023-10-31 18:14:49 ERROR:Task exception was never retrieved
future: <Task finished name='Task-376' coro=<Queue.start_processing() done, defined at L:\OobOct24\text-generation-webui-main\installer_files\env\Lib\site-packages\gradio\queueing.py:127> exception=TypeError("'NoneType' object does not support the asynchronous context manager protocol")>
Traceback (most recent call last):
File "L:\OobOct24\text-generation-webui-main\installer_files\env\Lib\site-packages\gradio\queueing.py", line 137, in start_processing
async with self.delete_lock:
TypeError: 'NoneType' object does not support the asynchronous context manager protocol

I think it's a gradio issue, the developer of edge_tts ran into the same issue I believe: oobabooga/text-generation-webui#4267 (comment)

The issue in the oobabooga git repo was very similar to what I was having and the dev of edge_tts made the changes here to their code: BuffMcBigHuge/text-generation-webui-edge-tts@2d4be14

I tried looking at your code to see if I could make similar changes but I don't know what to do exactly.

Thanks for the cool looking extension, hopefully I will get it working soon :3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.