Spaces:
Sleeping
Sleeping
add clear_button to clear inputs audios
Browse files
app.py
CHANGED
@@ -32,7 +32,8 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
32 |
input_audio = gr.Audio(label="Entrada", type="filepath")
|
33 |
with gr.Row():
|
34 |
output_text = gr.Textbox(label="Saida")
|
35 |
-
with gr.Row():
|
|
|
36 |
asr_button = gr.Button("Enviar", elem_id="send-btn", visible=True)
|
37 |
|
38 |
|
|
|
32 |
input_audio = gr.Audio(label="Entrada", type="filepath")
|
33 |
with gr.Row():
|
34 |
output_text = gr.Textbox(label="Saida")
|
35 |
+
with gr.Row():
|
36 |
+
clear_button = gr.ClearButton(input_audio, value="Limpiar Audio", elem_id="clear-btn", visible=True)
|
37 |
asr_button = gr.Button("Enviar", elem_id="send-btn", visible=True)
|
38 |
|
39 |
|