M4xjunior commited on
Commit
7c4ab49
·
verified ·
1 Parent(s): 798b1c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def transcribe(audio, task):
21
  return_timestamps="word"
22
  )
23
  gr.Info("Finished transcription task")
24
- return outputs
25
 
26
  with gr.Blocks() as demo:
27
  audio = gr.Audio(label="Audio", type="filepath", interactive=True)
 
21
  return_timestamps="word"
22
  )
23
  gr.Info("Finished transcription task")
24
+ return ['chunks'].strip()
25
 
26
  with gr.Blocks() as demo:
27
  audio = gr.Audio(label="Audio", type="filepath", interactive=True)