jfforero commited on
Commit
428993a
·
verified ·
1 Parent(s): bfdd526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks() as interface:
105
  with gr.Row():
106
  input_audio = gr.Audio(label="Input Audio", type="filepath")
107
  submit_button = gr.Button("Submit")
108
- output_label = [gr.Label("Prediction"), gr.Image(type='pil'), gr.Label("transcipcion")] # Use a single Label instead of a list
109
 
110
  # Set the function to be called when the button is clicked
111
  submit_button.click(get_predictions,transcribe, inputs=input_audio, outputs=output_label)
 
105
  with gr.Row():
106
  input_audio = gr.Audio(label="Input Audio", type="filepath")
107
  submit_button = gr.Button("Submit")
108
+ output_label = [gr.Label("Prediction"), gr.Image(type='pil')] # Use a single Label instead of a list
109
 
110
  # Set the function to be called when the button is clicked
111
  submit_button.click(get_predictions,transcribe, inputs=input_audio, outputs=output_label)