Skip to content
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

Update manage.py #3994

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Update manage.py #3994

wants to merge 1 commit into from

Conversation

Mkkrishnasai
Copy link

Issue at _set_model_item() function
While using fairseq model dataset & model variables are not set

Issue at _set_model_item() function
While using fairseq model dataset & model variables are not set
@CLAassistant
Copy link

CLAassistant commented Sep 11, 2024

CLA assistant check
All committers have signed the CLA.

@eginhard
Copy link
Contributor

This is already fixed in our fork (available via pip install coqui-tts). This repo is not updated anymore.

@manuel-84
Copy link

After trying this fix I get this error with TTS api

ValueError: [!] Model file not found in the output path

Code:

api = TTS("tts_models/lat/fairseq/vits")
api.tts_with_vc_to_file(
    text,
    speaker_wav="sample.wav",
    file_path="output.wav"
)

@eginhard
Copy link
Contributor

@manuel-84 Can you try just running this:

api = TTS("tts_models/lat/fairseq/vits")
api.tts_to_file(
    text,
    file_path="output.wav"
)

@manuel-84
Copy link

@manuel-84 Can you try just running this:

api = TTS("tts_models/lat/fairseq/vits")
api.tts_to_file(
    text,
    file_path="output.wav"
)

Same error... I will try with your repo

@eginhard
Copy link
Contributor

@manuel-84 I just checked and I can use this model without errors. If it still doesn't work with the fork, try removing the tts_models--lat--fairseq--vits/ folder, your download might have been incomplete.

@Mkkrishnasai
Copy link
Author

Mkkrishnasai commented Sep 12, 2024

@manuel-84

api = TTS("tts_models/lat/fairseq/vits")
api.tts_with_vc_to_file(
    text,
    speaker_wav="sample.wav",
    file_path="output.wav"
)

ValueError: [!] Model file not found in the output path

"api.tts_with_vc_to_file" is correct as your using "tts_models/lat/fairseq/vits" single language model with voice cloning support.

This could also be because of model download issue.

if Darwin "~/Library/Application\ Support" delete the model and try again.
different for Windows or custom path.

@rose07
Copy link

rose07 commented Oct 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants