CultriX commited on
Commit
fcf5e4f
·
verified ·
1 Parent(s): d8bfda7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ device = "cuda"
9
 
10
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
11
 
12
- @spaces.GPU(enable_queue=True)
 
13
  def clone(text, audio):
14
  tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
15
  return "./output.wav"
 
9
 
10
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
11
 
12
+ @spaces.GPU(enable_queue=True, duration=30)
13
+
14
  def clone(text, audio):
15
  tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
16
  return "./output.wav"