Olivier-Truong commited on
Commit
7c7303d
1 Parent(s): 2fb935b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
  from TTS.api import TTS
8
 
9
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
10
- tts.to("cuda")
11
 
12
  def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
13
  if agree == True:
 
7
  from TTS.api import TTS
8
 
9
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
10
+ tts.to("cpu") # cuda
11
 
12
  def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
13
  if agree == True: