ahassoun commited on
Commit
05c6a8a
·
1 Parent(s): af4e51a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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 split_process(audio, chosen_out_track):
@@ -132,7 +132,6 @@ theme_emojis = {
132
 
133
  css = """
134
  #col-container {max-width: 780px; margin-left: auto; margin-right: auto; background-size: contain; background-repeat: no-repeat;}
135
- #theme-emoji-bg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; background-size: contain; background-repeat: no-repeat; background-position: center;}
136
  a {text-decoration-line: underline; font-weight: 600;}
137
  .mic-wrap > button {
138
  width: 100%;
 
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 split_process(audio, chosen_out_track):
 
132
 
133
  css = """
134
  #col-container {max-width: 780px; margin-left: auto; margin-right: auto; background-size: contain; background-repeat: no-repeat;}
 
135
  a {text-decoration-line: underline; font-weight: 600;}
136
  .mic-wrap > button {
137
  width: 100%;