Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
import torch
|
4 |
import gradio as gr
|
5 |
|
@@ -43,8 +41,6 @@ gr.close_all()
|
|
43 |
demo = gr.Interface(fn=summary,
|
44 |
inputs=[gr.Textbox(label="Input text to summarize",lines=6)],
|
45 |
outputs=[gr.Textbox(label="Summarized text",lines=4)],
|
46 |
-
title="
|
47 |
-
description="
|
48 |
-
demo.launch()
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
1 |
import torch
|
2 |
import gradio as gr
|
3 |
|
|
|
41 |
demo = gr.Interface(fn=summary,
|
42 |
inputs=[gr.Textbox(label="Input text to summarize",lines=6)],
|
43 |
outputs=[gr.Textbox(label="Summarized text",lines=4)],
|
44 |
+
title="Text Summarizer",
|
45 |
+
description="This application can be used to summarise the text")
|
46 |
+
demo.launch()
|
|
|
|