[GH-ISSUE #2993] [BUG]: PiperTTS doesn´t show any model #1916

Closed
opened 2026-02-22 18:27:13 -05:00 by yindo · 8 comments
Owner

Originally created by @miguepollo on GitHub (Jan 20, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2993

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

Originally created by @miguepollo on GitHub (Jan 20, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2993 ### 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
yindo added the Dockerneeds info / can't replicate labels 2026-02-22 18:27:13 -05:00
yindo closed this issue 2026-02-22 18:27:13 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 20, 2025):

Since you are on Docker:

  • What browser (web-workers are required)
  • Any errors in browser inspect->Console
  • Any errors in docker container
@timothycarambat commented on GitHub (Jan 20, 2025): Since you are on Docker: - What browser (web-workers are required) - Any errors in browser inspect->Console - Any errors in docker container
Author
Owner

@miguepollo commented on GitHub (Jan 20, 2025):

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

Image

@miguepollo commented on GitHub (Jan 20, 2025): 1. web browser: on one device safari and on other device brave 2. In brave i see this errors ![Image](https://github.com/user-attachments/assets/1b1cc214-0d60-4c35-92d0-eb49c190c1d9)
Author
Owner

@timothycarambat commented on GitHub (Feb 3, 2025):

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 commented on GitHub (Feb 3, 2025): 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.
Author
Owner

@miguepollo commented on GitHub (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}

@miguepollo commented on GitHub (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}
Author
Owner

@timothycarambat commented on GitHub (Feb 6, 2025):

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

@timothycarambat commented on GitHub (Feb 6, 2025): > 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)](https://github.com/Mintplex-Labs/anything-llm/blob/e44fda778a6054ca3619e0b497dc53fa8b35edfa/frontend/src/utils/piperTTS/index.js#L49-L51) The PiperTTS files are quite small, so you should be able to load them within 30s on regular internet connections
Author
Owner

@miguepollo commented on GitHub (Feb 8, 2025):

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

https://github.com/user-attachments/assets/42bf9cc1-db07-48c9-a738-ac3067fd37e5

@miguepollo commented on GitHub (Feb 8, 2025): ![Image](https://github.com/user-attachments/assets/0004d8f6-9bae-4b87-9c88-0bd5e8cb86a1) but when the model loads. (it take a little time) it dont let me choose model https://github.com/user-attachments/assets/42bf9cc1-db07-48c9-a738-ac3067fd37e5
Author
Owner

@procrastinando commented on GitHub (Apr 24, 2025):

I deployed anythingllm on a VPS, using the ip i will have the same problem, using a domain the problem is solved!

@procrastinando commented on GitHub (Apr 24, 2025): I deployed anythingllm on a VPS, using the ip i will have the same problem, using a domain the problem is solved!
yindo changed title from [BUG]: PiperTTS doesn´t show any model to [GH-ISSUE #2993] [BUG]: PiperTTS doesn´t show any model 2026-06-05 14:43:25 -04:00
Author
Owner

@ErroneousBosch commented on GitHub (Apr 24, 2026):

Is there a way around this for connecting locally with an IP?

<!-- gh-comment-id:4315881454 --> @ErroneousBosch commented on GitHub (Apr 24, 2026): Is there a way around this for connecting locally with an IP?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1916