Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -318,7 +318,7 @@ if __name__ == "__main__":
|
|
318 |
"注意这些数字只能是整数。 \n\n(1 代表 0.01161 秒的长度)\n\n"
|
319 |
)
|
320 |
btn.click(infer, inputs=[textbox, char_dropdown, language_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider, symbol_input],
|
321 |
-
outputs=[text_output, audio_output, phoneme_output, duration_output])
|
322 |
cus_dur_gn_btn.click(infer_from_phoneme_dur, inputs=[duration_output, char_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider],
|
323 |
outputs=[phoneme_output, audio_output])
|
324 |
|
|
|
318 |
"注意这些数字只能是整数。 \n\n(1 代表 0.01161 秒的长度)\n\n"
|
319 |
)
|
320 |
btn.click(infer, inputs=[textbox, char_dropdown, language_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider, symbol_input],
|
321 |
+
outputs=[text_output, audio_output, phoneme_output, duration_output], api_name="generate")
|
322 |
cus_dur_gn_btn.click(infer_from_phoneme_dur, inputs=[duration_output, char_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider],
|
323 |
outputs=[phoneme_output, audio_output])
|
324 |
|