Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -209,8 +209,17 @@ def main():
|
|
209 |
denoiser.load_state_dict(state_dict['generator'])
|
210 |
denoiser.eval()
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
-
demo_play = gr.Interface(fn = tts,
|
214 |
inputs = [gr.Textbox(max_lines=6, label="Input Text", value="I am Dasvader of Starwars. I am your Father. Be the change that you wish to see in the world.", info="Up to 200 characters"),
|
215 |
gr.Audio(type='filepath', value="./example/dasvader.wav")
|
216 |
gr.Slider(0,1,0.333),
|
|
|
209 |
denoiser.load_state_dict(state_dict['generator'])
|
210 |
denoiser.eval()
|
211 |
|
212 |
+
|
213 |
+
css = """
|
214 |
+
body {
|
215 |
+
font-family: 'Arial', sans-serif;
|
216 |
+
}
|
217 |
+
footer {
|
218 |
+
visibility: hidden;
|
219 |
+
}
|
220 |
+
"""
|
221 |
|
222 |
+
demo_play = gr.Interface(fn = tts, css=css)
|
223 |
inputs = [gr.Textbox(max_lines=6, label="Input Text", value="I am Dasvader of Starwars. I am your Father. Be the change that you wish to see in the world.", info="Up to 200 characters"),
|
224 |
gr.Audio(type='filepath', value="./example/dasvader.wav")
|
225 |
gr.Slider(0,1,0.333),
|