s03f3ff commited on
Commit
c22917e
·
verified ·
1 Parent(s): 4403043

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ def transcribe_and_summarize(filepath):
25
  mic_transcribe = gr.Interface(
26
  fn=transcribe_and_summarize,
27
  inputs=gr.Audio(sources="microphone", type="filepath"),
28
- outputs=[gr.Textbox(label="Transcript", type="auto", lines=10),
29
  outputs=gr.Textbox(label="Summary", lines=3),
30
  allow_flagging="never"
31
  )
@@ -33,7 +33,7 @@ mic_transcribe = gr.Interface(
33
  file_transcribe = gr.Interface(
34
  fn=transcribe_and_summarize,
35
  inputs=gr.Audio(sources="upload", type="filepath"),
36
- outputs=[gr.Textbox(label="Transcript", type="auto", lines=10),
37
  outputs=gr.Textbox(label="Summary", lines=3),
38
  allow_flagging="never"
39
  )
 
25
  mic_transcribe = gr.Interface(
26
  fn=transcribe_and_summarize,
27
  inputs=gr.Audio(sources="microphone", type="filepath"),
28
+ outputs=gr.Textbox(label="Transcript", type="auto", lines=10),
29
  outputs=gr.Textbox(label="Summary", lines=3),
30
  allow_flagging="never"
31
  )
 
33
  file_transcribe = gr.Interface(
34
  fn=transcribe_and_summarize,
35
  inputs=gr.Audio(sources="upload", type="filepath"),
36
+ outputs=gr.Textbox(label="Transcript", type="auto", lines=10),
37
  outputs=gr.Textbox(label="Summary", lines=3),
38
  allow_flagging="never"
39
  )