hexgrad commited on
Commit
091963f
1 Parent(s): 6c65795

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -293,12 +293,12 @@ with gr.Blocks() as basic_tts:
293
  with gr.Accordion('Output Tokens', open=True):
294
  out_ps = gr.Textbox(interactive=False, show_label=False, info='Tokens used to generate the audio, up to 510 allowed. Same as input tokens if supplied, excluding unknowns.')
295
  with gr.Row():
296
- _reduce_noise = gr.Slider(value=0.5, visible=False, render=False)
297
- _closing_cut = gr.Slider(value=2000, visible=False, render=False)
298
- _ease_in = gr.Slider(value=3000, visible=False, render=False)
299
- _ease_out = gr.Slider(value=1000, visible=False, render=False)
300
- _pad_before = gr.Slider(value=5000, visible=False, render=False)
301
- _pad_after = gr.Slider(value=5000, visible=False, render=False)
302
  text.submit(generate, inputs=[text, voice, in_ps, speed, _reduce_noise, trim, _closing_cut, _ease_in, _ease_out, _pad_before, _pad_after, use_gpu], outputs=[audio, out_ps])
303
  generate_btn.click(generate, inputs=[text, voice, in_ps, speed, _reduce_noise, trim, _closing_cut, _ease_in, _ease_out, _pad_before, _pad_after, use_gpu], outputs=[audio, out_ps])
304
 
 
293
  with gr.Accordion('Output Tokens', open=True):
294
  out_ps = gr.Textbox(interactive=False, show_label=False, info='Tokens used to generate the audio, up to 510 allowed. Same as input tokens if supplied, excluding unknowns.')
295
  with gr.Row():
296
+ _reduce_noise = gr.Slider(value=0.5, interactive=False, visible=False)
297
+ _closing_cut = gr.Slider(value=2000, interactive=False, visible=False)
298
+ _ease_in = gr.Slider(value=3000, interactive=False, visible=False)
299
+ _ease_out = gr.Slider(value=1000, interactive=False, visible=False)
300
+ _pad_before = gr.Slider(value=5000, interactive=False, visible=False)
301
+ _pad_after = gr.Slider(value=5000, interactive=False, visible=False)
302
  text.submit(generate, inputs=[text, voice, in_ps, speed, _reduce_noise, trim, _closing_cut, _ease_in, _ease_out, _pad_before, _pad_after, use_gpu], outputs=[audio, out_ps])
303
  generate_btn.click(generate, inputs=[text, voice, in_ps, speed, _reduce_noise, trim, _closing_cut, _ease_in, _ease_out, _pad_before, _pad_after, use_gpu], outputs=[audio, out_ps])
304