this post was submitted on 12 May 2024
79 points (93.4% liked)

Selfhosted

60409 readers
1048 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hey all,

Almost as impressive as all the LLMs these days is the voice that ChatGPT uses with its emphasis and dramatic pauses and umms, etc.

I would love to integrate that with a self-hosted Llama3 engine.

Is there a project that y'all have heard of?

top 12 comments
sorted by: hot top controversial new old
[–] kakes@sh.itjust.works 14 points 2 years ago

Regarding the TTS specifically, I remember looking into TorToiSeTTS back when this stuff was first coming out. You can generate ElevenLabs quality audio with it, but it's insanely slow. In fact, when I was looking into it, it seemed like ElevenLabs may have been using a (much faster at the time) version of TorToiSe TTS, given the output is so similar.

According to the linked Github page, they seem to have solved the speed issues now, so it might be worth looking into. Of course, the other commenters have provided solutions that are pre-integrated into the LLM, but if you're just looking for TTS this could be worth checking out. Also worth noting that this requires an NVIDIA GPU.

[–] requiem@lemmy.world 12 points 2 years ago (1 children)
[–] anzo@programming.dev 2 points 2 years ago

This is what OP looks for. It exists! Other repos only cover partially (e.g. either ollama or tts)

[–] B0rax@feddit.de 10 points 2 years ago

You mean just the text to speech part? Look into Piper

[–] ReedReads@lemmy.zip 9 points 2 years ago
[–] Ashyr@sh.itjust.works 6 points 2 years ago (1 children)

When can I get one of these voices to read an epub on my phone? I'd love to have something like that

[–] Lemongrab@lemmy.one 3 points 2 years ago (1 children)

Librera FD as your reader app: https://www.f-droid.org/en/packages/com.foobnix.pro.pdf.reader/
Sherpa Onnx as your TTS engine: https://github.com/k2-fsa/sherpa-onnx

I recommend the piper TTS pretrained models, either Lessac medium or Kusal high/medium

[–] Lemongrab@lemmy.one 3 points 2 years ago

Installing Sherpa Onnx TTS makes it an option to use as your system TTS voice

[–] pythia@lemmy.dbzer0.com 5 points 2 years ago* (last edited 2 years ago)
[–] PeachMan@lemmy.world 3 points 2 years ago

epub2tts: https://github.com/aedocw/epub2tts

Looks like a project that utilizes coqui-AI: https://github.com/coqui-ai/TTS

[–] mrashley@lemmy.ca 3 points 2 years ago

Oh WOW! Thanks to all who commented. Next time I get a chance I'm going to check these all out! 👍🏻 I hope others find this thread helpful too!

[–] tagginator@utter.online -2 points 2 years ago

New Lemmy Post: ChatGPT's voice, self-hosted? (https://lemmyverse.link/lemmy.world/post/15336896)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md