Giter Club home page Giter Club logo

Comments (7)

aedocw avatar aedocw commented on June 11, 2024 1

Good catch, this is an issue where the path to voice samples is not handled properly (in my lazy testing the samples have all been in the same directory I'm working from!)

I'll fix this today, and confirm it catches the model properly as well.

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024 1

OK figured out what happened here... I had previously been using basically "plain" xtts v2, which will check to see if the model has been already downloaded and if not, downloads it and prompts for license agreement. Then I switched to using the model API so I could be more specific with some settings. The docs clearly state "To use the model API, you need to download the model files and pass config and model file paths manually." Oops! I didn't notice because I had already downloaded the model.

My clunky fix is to init tts in the more boring way first which will trigger the check to see if the model has already been downloaded. It's working for me, please validate when you get a chance and let me know if this has solved it for you.

from epub2tts.

friki67 avatar friki67 commented on June 11, 2024

Wonderful.

I have some issues with the language, again.

I wrote them in #71, just to keep things in place. Could you please have a look?

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024

Sorry I jumped to a wrong conclusion about what was going on here because I thought I had seem something similar once due to referencing the voice samples, but that was definitely not it.

I rely on TTS to detect whether or not the model is there, and if it's not, it should just download it. I'm really not sure what happened unless the model directory was there but it was not complete (i.e. missing config.json).

Let's let this open for now, and if you see it happen again please comment and I'll try harder to recreate the issue.

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024

The merge did not fix this, re-opening this bug.

from epub2tts.

friki67 avatar friki67 commented on June 11, 2024

I rely on TTS to detect whether or not the model is there, and if it's not, it should just download it. I'm really not sure what happened unless the model directory was there but it was not complete (i.e. missing config.json).

The directory doesn't exists. The model isn't downloaded. I've reproduced the issue deleting all, reinstalling and using --xtts.
1- Install epub2tts
2- execute epub2tts mytext.txt --xtts voice1.wav,voice2.wav,voice3.wav
3- get the error, it doesn't try to download the model, just throw the error after the initial phase.

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024

Thanks - I've recreated this as well. I will play with how I'm initiating TTS so that it properly triggers the download.

from epub2tts.

Related Issues (20)

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.