Spaces:
Runtime error
Runtime error
Update app.py
Browse files279 unmodified lines2802812822832842852862 unmodified lines289290291291292293294295279 unmodified lines with gr.Column(): text_output = gr.Textbox(label="Output Text") phoneme_output = gr.Textbox(label="Output Phonemes", interactive=False) audio_output = gr.Audio(label="Output Audio", elem_id="tts-audio") btn = gr.Button("Generate!") cus_dur_gn_btn = gr.Button("Regenerate with custom phoneme durations")2 unmodified lines download = gr.Button("Download Audio") download.click(None, [], [], _js=download_audio_js.format(audio_id="tts-audio")) with gr.Accordion(label="Speaking Pace Control", open=True): phoneme_output = gr.Textbox(label="Output Phonemes", interactive=False) duration_output = gr.Textbox(label="Duration of each phoneme", placeholder="After you generate a sentence, the detailed information of each phoneme's duration will be presented here.", interactive = True) cus_dur_gn_btn.click(infer_from_phoneme_dur, inputs=[duration_output, char_dropdown, duration_slider, noise_scale_slider, noise_scale_w_slider], app.py+2-1