cbensimon HF staff commited on
Commit
2c938c8
·
verified ·
1 Parent(s): aefb321

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -26
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
- 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(
 
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(