TIMBOVILL commited on
Commit
4457282
1 Parent(s): 5de79b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -1674,7 +1674,7 @@ with gr.Blocks(theme=theme) as app:
1674
  #formant_refresh_button = ToolButton( elem_id='1')
1675
  #create_refresh_button(formant_preset, lambda: {"choices": formant_preset}, "refresh_list_shiftpresets")
1676
 
1677
- qfrency = gr.Slider(
1678
  value=Quefrency,
1679
  info="Default value is 1.0",
1680
  label="Quefrency for formant shifting",
@@ -1683,17 +1683,17 @@ with gr.Blocks(theme=theme) as app:
1683
  step=0.1,
1684
  visible=bool(DoFormant),
1685
  interactive=True,
1686
- )
1687
- tmbre = gr.Slider(
1688
- value=Timbre,
1689
- info="Default value is 1.0",
1690
- label="Timbre for formant shifting",
1691
- minimum=0.0,
1692
- maximum=16.0,
1693
- step=0.1,
1694
- visible=bool(DoFormant),
1695
- interactive=True,
1696
- )
1697
 
1698
  formant_preset.change(fn=preset_apply, inputs=[formant_preset, qfrency, tmbre], outputs=[qfrency, tmbre])
1699
  frmntbut = gr.Button("Apply", variant="primary", visible=bool(DoFormant))
 
1674
  #formant_refresh_button = ToolButton( elem_id='1')
1675
  #create_refresh_button(formant_preset, lambda: {"choices": formant_preset}, "refresh_list_shiftpresets")
1676
 
1677
+ qfrency = gr.Slider(
1678
  value=Quefrency,
1679
  info="Default value is 1.0",
1680
  label="Quefrency for formant shifting",
 
1683
  step=0.1,
1684
  visible=bool(DoFormant),
1685
  interactive=True,
1686
+ )
1687
+ tmbre = gr.Slider(
1688
+ value=Timbre,
1689
+ info="Default value is 1.0",
1690
+ label="Timbre for formant shifting",
1691
+ minimum=0.0,
1692
+ maximum=16.0,
1693
+ step=0.1,
1694
+ visible=bool(DoFormant),
1695
+ interactive=True,
1696
+ )
1697
 
1698
  formant_preset.change(fn=preset_apply, inputs=[formant_preset, qfrency, tmbre], outputs=[qfrency, tmbre])
1699
  frmntbut = gr.Button("Apply", variant="primary", visible=bool(DoFormant))