george duan commited on
Commit
c7a845e
1 Parent(s): 1577653

add duration ui

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -276,6 +276,7 @@ demo = gr.Interface(
276
  outputs=[
277
  gr.Audio(label="Audio", format="mp3"),
278
  gr.Textbox(label="Transcript"),
 
279
  ],
280
  allow_flagging=False,
281
  clear_btn=None,
 
276
  outputs=[
277
  gr.Audio(label="Audio", format="mp3"),
278
  gr.Textbox(label="Transcript"),
279
+ gr.Number(label="Duration (seconds)"),
280
  ],
281
  allow_flagging=False,
282
  clear_btn=None,