Spaces:
Runtime error
Runtime error
Update vc.py
Browse files
vc.py
CHANGED
@@ -45,7 +45,7 @@ def run_bark(text, n='1', lang='en'):
|
|
45 |
|
46 |
#tts = TTS(model_name=f"tts_models/en/ljspeech/fast_pitch", progress_bar=False).to("cpu")
|
47 |
tts = TTS(model_name=f"tts_models/en/ljspeech/glow-tts", progress_bar=False).to("cpu")
|
48 |
-
|
49 |
def bark_ez(text, n='1', land='en'):
|
50 |
uid=uuid.uuid4()
|
51 |
tts.tts_to_file(text, file_path=f"{uid}-output.wav")
|
|
|
45 |
|
46 |
#tts = TTS(model_name=f"tts_models/en/ljspeech/fast_pitch", progress_bar=False).to("cpu")
|
47 |
tts = TTS(model_name=f"tts_models/en/ljspeech/glow-tts", progress_bar=False).to("cpu")
|
48 |
+
print(TTS().list_models())
|
49 |
def bark_ez(text, n='1', land='en'):
|
50 |
uid=uuid.uuid4()
|
51 |
tts.tts_to_file(text, file_path=f"{uid}-output.wav")
|