Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def get_transcript(video_url):
|
|
52 |
gr.close_all()
|
53 |
# demo = gr.Interface(fn=summary,inputs="text", outputs="text")
|
54 |
demo = gr.Interface(fn=get_transcript,
|
55 |
-
inputs=[gr.Textbox(label="Input text to summarize", lines=
|
56 |
outputs=[gr.Textbox(label="Summarized text", lines=4)],
|
57 |
title="Text Summarizer",
|
58 |
description="This application will be used to summarise the text")
|
|
|
52 |
gr.close_all()
|
53 |
# demo = gr.Interface(fn=summary,inputs="text", outputs="text")
|
54 |
demo = gr.Interface(fn=get_transcript,
|
55 |
+
inputs=[gr.Textbox(label="Input text to summarize", lines=1)],
|
56 |
outputs=[gr.Textbox(label="Summarized text", lines=4)],
|
57 |
title="Text Summarizer",
|
58 |
description="This application will be used to summarise the text")
|