Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
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))
|