camparchimedes commited on
Commit
1250e15
·
verified ·
1 Parent(s): fb1d342

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -228,10 +228,6 @@ with iface:
228
  result_output = gr.Textbox(label="Time taken and Number of words")
229
  transcribe_button = gr.Button("Transcribe")
230
 
231
- def transcribe(audio_file):
232
- text, result = transcribe_audio(audio_file, forced_decoder_ids)
233
- return text, result
234
-
235
  transcribe_button.click(
236
  fn=transcribe,
237
  inputs=[audio_input],
 
228
  result_output = gr.Textbox(label="Time taken and Number of words")
229
  transcribe_button = gr.Button("Transcribe")
230
 
 
 
 
 
231
  transcribe_button.click(
232
  fn=transcribe,
233
  inputs=[audio_input],