Spaces:
Running
Running
wavFile
Browse files- app.py +3 -3
- wav/en_US_vctk_p326.wav +0 -0
app.py
CHANGED
@@ -508,7 +508,7 @@ with gr.Blocks(theme='huggingface', css=css_buttons) as demo:
|
|
508 |
selected_voice = gr.State(value='wav/en_US_m-ailabs_mary_ann.wav')
|
509 |
|
510 |
with gr.Row():
|
511 |
-
voice_info = gr.Markdown(f'
|
512 |
|
513 |
# Main input and output components
|
514 |
with gr.Row():
|
@@ -536,7 +536,7 @@ with gr.Blocks(theme='huggingface', css=css_buttons) as demo:
|
|
536 |
outputs=[selected_voice]
|
537 |
)
|
538 |
button.click(
|
539 |
-
fn=lambda v=voice_filename: f'
|
540 |
inputs=None,
|
541 |
outputs=voice_info
|
542 |
)
|
@@ -579,4 +579,4 @@ with gr.Blocks(theme='huggingface', css=css_buttons) as demo:
|
|
579 |
submit_btn.click(recognize, input, outputs)
|
580 |
|
581 |
|
582 |
-
demo.launch(debug=True)
|
|
|
508 |
selected_voice = gr.State(value='wav/en_US_m-ailabs_mary_ann.wav')
|
509 |
|
510 |
with gr.Row():
|
511 |
+
voice_info = gr.Markdown(f'vox=`{selected_voice.value}`')
|
512 |
|
513 |
# Main input and output components
|
514 |
with gr.Row():
|
|
|
536 |
outputs=[selected_voice]
|
537 |
)
|
538 |
button.click(
|
539 |
+
fn=lambda v=voice_filename: f'vox=`{v}`',
|
540 |
inputs=None,
|
541 |
outputs=voice_info
|
542 |
)
|
|
|
579 |
submit_btn.click(recognize, input, outputs)
|
580 |
|
581 |
|
582 |
+
demo.launch(debug=True)
|
wav/en_US_vctk_p326.wav
CHANGED
Binary files a/wav/en_US_vctk_p326.wav and b/wav/en_US_vctk_p326.wav differ
|
|