You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to download the model file to C:\Users\coman\AppData\Local\tts\tts_models--multilingual--multi-dataset--xtts_v2
Traceback (most recent call last):
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
To Reproduce
Run the following command '...'
use this code
import torch
from TTS.api import TTS
Get device
device = "cuda" if torch.cuda.is_available() else "cpu"
tts.tts_to_file(text="Hello world!", speaker_wav="audio.wav", language="en", file_path="output.wav")
3, > Failed to download the model file to C:\Users\coman\AppData\Local\tts\tts_models--multilingual--multi-dataset--xtts_v2
Traceback (most recent call last):
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
Expected behavior
Can an external link be provided to download the relevant model? There is no relevant information in the log either. I tried print url but there wasn't a real url either. To easy install.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.
Describe the bug
To Reproduce
import torch
from TTS.api import TTS
Get device
device = "cuda" if torch.cuda.is_available() else "cpu"
List available 🐸TTS models
print(TTS().list_models())
Init TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
Run TTS
❗ Since this model is multi-lingual voice cloning model, we must set the target speaker_wav and language
Text to speech list of amplitude values as output
wav = tts.tts(text="Hello world!", speaker_wav="audio.wav", language="en")
Text to speech to a file
tts.tts_to_file(text="Hello world!", speaker_wav="audio.wav", language="en", file_path="output.wav")
3, > Failed to download the model file to C:\Users\coman\AppData\Local\tts\tts_models--multilingual--multi-dataset--xtts_v2
Traceback (most recent call last):
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users\coman\AppData\Roaming\Python\Python311\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
Expected behavior
Can an external link be provided to download the relevant model? There is no relevant information in the log either. I tried
print url
but there wasn't a real url either. To easy install.Logs
No response
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: