Rehman1603 commited on
Commit
c6c72ae
1 Parent(s): ea8de22

Update Text_to_speech.py

Browse files
Files changed (1) hide show
  1. Text_to_speech.py +1 -1
Text_to_speech.py CHANGED
@@ -3,7 +3,7 @@ from TTS.api import TTS
3
 
4
  # Get device
5
  device = "cuda" if torch.cuda.is_available() else "cpu"
6
- tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2",progress_bar=False).to(device)
7
 
8
 
9
  def Text_to_Speech(transcribe_data,lang,voice):
 
3
 
4
  # Get device
5
  device = "cuda" if torch.cuda.is_available() else "cpu"
6
+ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2 -y",progress_bar=False).to(device)
7
 
8
 
9
  def Text_to_Speech(transcribe_data,lang,voice):