Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1695,14 +1695,14 @@ with gr.Blocks(theme=theme) as app:
|
|
1695 |
interactive=True,
|
1696 |
)
|
1697 |
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
|
1704 |
|
1705 |
-
|
1706 |
|
1707 |
|
1708 |
with gr.Row():
|
|
|
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))
|
1700 |
+
formanting.change(fn=formant_enabled,inputs=[formanting,qfrency,tmbre,frmntbut,formant_preset,formant_refresh_button],outputs=[formanting,qfrency,tmbre,frmntbut,formant_preset,formant_refresh_button])
|
1701 |
+
frmntbut.click(fn=formant_apply,inputs=[qfrency, tmbre], outputs=[qfrency, tmbre])
|
1702 |
+
formant_refresh_button.click(fn=update_fshift_presets,inputs=[formant_preset, qfrency, tmbre],outputs=[formant_preset, qfrency, tmbre])
|
1703 |
|
1704 |
|
1705 |
+
animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
|
1706 |
|
1707 |
|
1708 |
with gr.Row():
|