Spaces:
Runtime error
Runtime error
Rehman1603
commited on
Commit
•
903a035
1
Parent(s):
c926734
Update Text_to_speech.py
Browse files- Text_to_speech.py +1 -1
Text_to_speech.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
7 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2",progress_bar=False).to(device)
|
8 |
default_answer = "y"
|
9 |
-
answer = input(
|
10 |
|
11 |
def Text_to_Speech(transcribe_data,lang,voice):
|
12 |
# List available 🐸TTS models
|
|
|
6 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
7 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2",progress_bar=False).to(device)
|
8 |
default_answer = "y"
|
9 |
+
answer = input()
|
10 |
|
11 |
def Text_to_Speech(transcribe_data,lang,voice):
|
12 |
# List available 🐸TTS models
|