nikkmitra commited on
Commit
1a0b3dd
·
verified ·
1 Parent(s): 471fe68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ def tts_generate(text, voice, language):
33
  )
34
 
35
  return temp_audio_path
36
-
 
37
  def clone_voice(text, audio_file, language):
38
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as temp_audio:
39
  temp_audio_path = temp_audio.name
 
33
  )
34
 
35
  return temp_audio_path
36
+
37
+ @spaces.GPU(enable_queue=True)
38
  def clone_voice(text, audio_file, language):
39
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as temp_audio:
40
  temp_audio_path = temp_audio.name