cpcris commited on
Commit
a0f6f3c
1 Parent(s): b60cacf

add example audio

Browse files
Files changed (1) hide show
  1. app.py +7 -2
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="Saida")
57
  with gr.Row():
58
- clear_button = gr.ClearButton(input_audio, value="Limpiar Audio", elem_id="clear-btn", visible=True)
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)