BuffMcBigHuge / text-generation-webui-edge-tts

A very simple implementation of edge_tts w/ RVC for oobabooga text-generation-webui.
41 stars 3 forks source link

internet connection #9

Closed kalle07 closed 7 months ago

kalle07 commented 8 months ago

please tell me exactly why this is nessesary and what is submitted.

in each conversation step aprox 1MB is transferd if i block my internet this error: Cannot connect to host speech.platform.bing.com:443 ssl:<ssl.SSLContext object at 0x000001C3F8C0BCC0> [getaddrinfo failed]

BuffMcBigHuge commented 7 months ago

The edge_tts library used in this extension is an API request without a key to Microsoft Edge online TTS. The text that is generated from ooba is sent to Microsoft's servers which returns the audio which is then fed into RVC.

kalle07 commented 7 months ago

ok and why you have this extention .. all want offline !!!

BuffMcBigHuge commented 7 months ago

The reason why I used edge_tts for RVC is because it's the fastest I found with the highest quality. RVC can be added to any other TTS system include offline, but the latency and quality will suffer.

kalle07 commented 7 months ago

i see...

https://github.com/kanttouchthis/text_generation_webui_xtts maybe you take a look, its okay and offline