Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
|
|
199 |
ease_in = gr.Slider(minimum=0, maximum=24000, value=3000, step=1000, label='Ease In', info='🚀 Ease in for this many samples, after opening cut.')
|
200 |
with gr.Column():
|
201 |
ease_out = gr.Slider(minimum=0, maximum=24000, value=0, step=1000, label='Ease Out', info='📐 Ease out for this many samples, before closing cut.')
|
202 |
-
generate_btn.click(
|
203 |
|
204 |
if __name__ == '__main__':
|
205 |
demo.launch()
|
|
|
199 |
ease_in = gr.Slider(minimum=0, maximum=24000, value=3000, step=1000, label='Ease In', info='🚀 Ease in for this many samples, after opening cut.')
|
200 |
with gr.Column():
|
201 |
ease_out = gr.Slider(minimum=0, maximum=24000, value=0, step=1000, label='Ease Out', info='📐 Ease out for this many samples, before closing cut.')
|
202 |
+
generate_btn.click(generate, inputs=[text, voice, in_ps, speed, reduce_noise, opening_cut, closing_cut, ease_in, ease_out], outputs=[audio, out_ps])
|
203 |
|
204 |
if __name__ == '__main__':
|
205 |
demo.launch()
|