ahassoun commited on
Commit
2dbea9d
1 Parent(s): 13f5713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # from TTS.api import TTS
2
  import gradio as gr
3
  from gradio import Dropdown
4
  from scipy.io.wavfile import write
@@ -30,7 +30,7 @@ script_choices = {
30
  "Random": "Grandma, I can’t find your email address. I need to send you something important."
31
  }
32
  }
33
- # tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
34
 
35
 
36
  def infer(prompt, input_wav_file, script_type,selected_theme):
 
1
+ from TTS.api import TTS
2
  import gradio as gr
3
  from gradio import Dropdown
4
  from scipy.io.wavfile import write
 
30
  "Random": "Grandma, I can’t find your email address. I need to send you something important."
31
  }
32
  }
33
+ tts = TTS("tts_models/multilingual/multi-dataset/bark", gpu=True)
34
 
35
 
36
  def infer(prompt, input_wav_file, script_type,selected_theme):