Skip to content

[BUG]: PiperTTS doesn´t show any model #2993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
miguepollo opened this issue Jan 20, 2025 · 6 comments
Closed

[BUG]: PiperTTS doesn´t show any model #2993

miguepollo opened this issue Jan 20, 2025 · 6 comments
Labels
Docker Issue related to Docker needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug

Comments

@miguepollo
Copy link

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Hi, today I was testing PiperTTS and when it gave me the list of models to choose from: there were none!

I don't know if it could be my problem but in other devices it also fails.

Are there known steps to reproduce?

Going into voice and speak and changing text-to-speech to pipertts

@miguepollo miguepollo added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Jan 20, 2025
@timothycarambat
Copy link
Member

Since you are on Docker:

  • What browser (web-workers are required)
  • Any errors in browser inspect->Console
  • Any errors in docker container

@timothycarambat timothycarambat added Docker Issue related to Docker needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug investigating Core team or maintainer will or is currently looking into this issue labels Jan 20, 2025
@miguepollo
Copy link
Author

  1. web browser: on one device safari and on other device brave
  2. In brave i see this errors

Image

@timothycarambat
Copy link
Member

This seems to be directly related to either the asset bundle download to grab a voice from the CDN for pipertts. THese files are quite small which then implies there could be a VPN issue that could be blocking these downloads. This is also not even investigating browser compatibility issues that could be related, but likely as I can use this in Safari and Brave right now.

When you go to the Pipertts settings page with console open you should see some console logs from the worker that are loading the WASM needed to use the voices in the list as well as downloading a voice to use for TTS. I would suspect that is the main culprit here.

@timothycarambat timothycarambat removed possible bug Bug was reported but is not confirmed or is unable to be replicated. investigating Core team or maintainer will or is currently looking into this issue labels Feb 3, 2025
@miguepollo
Copy link
Author

miguepollo commented Feb 6, 2025

right now. pipertts works with a voice in english and i want it in spanish. i can't change the voice because nothing comes out and half the time it says pipertts worker timed out. in the console it comes out like this: PiperTTSWorker debug event: {“url”: “https://huggingface.co/diffusionstudio/piper-voices/resolve/main/en/en_US/hfc_female/medium/en_US-hfc_female-medium.onnx”, “total”:63201294, “loaded”:63151975}

@timothycarambat
Copy link
Member

half the time it says pipertts worker timed out.

Are you on slow internet by chance? We dont keep the web worker open forever since that is a waste of resources (30 seconds)

The PiperTTS files are quite small, so you should be able to load them within 30s on regular internet connections

@miguepollo
Copy link
Author

Image
but when the model loads. (it take a little time) it dont let me choose model

lalalala.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker Issue related to Docker needs info / can't replicate Issues that require additional information and/or cannot currently be replicated, but possible bug
Projects
None yet
Development

No branches or pull requests

2 participants