Spaces:
Sleeping
Sleeping
add example audio
Browse files
app.py
CHANGED
@@ -53,9 +53,9 @@ with gr.Blocks(fronted_theme, css=custom_css) as demo:
|
|
53 |
with gr.Row():
|
54 |
input_audio = gr.Audio(label="Entrada", type="filepath")
|
55 |
with gr.Row():
|
56 |
-
output_text = gr.Textbox(label="
|
57 |
with gr.Row():
|
58 |
-
clear_button = gr.ClearButton(input_audio, value="
|
59 |
asr_button = gr.Button("Enviar", elem_id="send-btn", visible=True)
|
60 |
|
61 |
|
@@ -68,4 +68,9 @@ with gr.Blocks(fronted_theme, css=custom_css) as demo:
|
|
68 |
|
69 |
)
|
70 |
|
|
|
|
|
|
|
|
|
|
|
71 |
demo.launch(debug=True)
|
|
|
53 |
with gr.Row():
|
54 |
input_audio = gr.Audio(label="Entrada", type="filepath")
|
55 |
with gr.Row():
|
56 |
+
output_text = gr.Textbox(label="Saída")
|
57 |
with gr.Row():
|
58 |
+
clear_button = gr.ClearButton(input_audio, value="Limpar", elem_id="clear-btn", visible=True)
|
59 |
asr_button = gr.Button("Enviar", elem_id="send-btn", visible=True)
|
60 |
|
61 |
|
|
|
68 |
|
69 |
)
|
70 |
|
71 |
+
examples = gr.Examples(
|
72 |
+
["Celtia1.wav"],
|
73 |
+
inputs=[input_audio]
|
74 |
+
)
|
75 |
+
|
76 |
demo.launch(debug=True)
|