Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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=
|
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 |
)
|