Update app.py
Browse files
app.py
CHANGED
@@ -308,32 +308,32 @@ def build_interface():
|
|
308 |
],
|
309 |
)
|
310 |
|
311 |
-
# On page load, trigger the same UI refresh
|
312 |
-
demo.load(
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
)
|
337 |
|
338 |
# Generate audio on button click
|
339 |
generate_button.click(
|
|
|
308 |
],
|
309 |
)
|
310 |
|
311 |
+
# # On page load, trigger the same UI refresh
|
312 |
+
# demo.load(
|
313 |
+
# fn=update_ui,
|
314 |
+
# inputs=[model_choice],
|
315 |
+
# outputs=[
|
316 |
+
# text,
|
317 |
+
# language,
|
318 |
+
# speaker_audio,
|
319 |
+
# prefix_audio,
|
320 |
+
# emotion1,
|
321 |
+
# emotion2,
|
322 |
+
# emotion3,
|
323 |
+
# emotion4,
|
324 |
+
# emotion5,
|
325 |
+
# emotion6,
|
326 |
+
# emotion7,
|
327 |
+
# emotion8,
|
328 |
+
# vq_single_slider,
|
329 |
+
# fmax_slider,
|
330 |
+
# pitch_std_slider,
|
331 |
+
# speaking_rate_slider,
|
332 |
+
# dnsmos_slider,
|
333 |
+
# speaker_noised_checkbox,
|
334 |
+
# unconditional_keys,
|
335 |
+
# ],
|
336 |
+
# )
|
337 |
|
338 |
# Generate audio on button click
|
339 |
generate_button.click(
|