idiap / coqui-ai-TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
https://coqui-tts.readthedocs.io
Mozilla Public License 2.0
611 stars 71 forks source link

[Bug] Not getting results #164

Closed Homiee223 closed 11 hours ago

Homiee223 commented 1 week ago

Describe the bug

i installed coqui ai, after installation i created this xtts ts.txt (xtts file was not uploading , and code feature not working for me so i gave in .txt)

Screenshot 2024-11-16 024720

To Reproduce

from TTS.api import TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=False)

# generate speech by cloning a voice using default settings
tts.tts_to_file(text="It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
                file_path="output.wav",
                speaker_wav=["D:/ttss/1.wav"],
                language="en",
                split_sentences=True
)

Expected behavior

No response

Logs

No response

Environment

"CUDA": {
        "GPU": [],
        "available": false,
        "version": null
    },
    "Packages": {
        "PyTorch_debug": false,
        "PyTorch_version": "2.5.1+cpu",
        "TTS": "0.24.3",
        "numpy": "1.26.4"
    },
    "System": {
        "OS": "Windows",
        "architecture": [
            "64bit",
            "WindowsPE"
        ],
        "processor": "Intel64 Family 6 Model 151 Stepping 2, GenuineIntel",
        "python": "3.10.10",
        "version": "10.0.22631"
    }
}

Additional context

No response

eginhard commented 1 week ago

I pasted the code into your comment so it's easier to check.

I don't see any issues, this is the correct way to use the model. After running this script there should be a file called output.wav in your folder. Can you check it's there?

eginhard commented 11 hours ago

No response, closing