apratim24 commited on
Commit
91da801
·
verified ·
1 Parent(s): 3adc763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
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="@GenAILearniverse Project 1: Text Summarizer",
47
- description="THIS APPLICATION WILL BE USED TO SUMMARIZE THE TEXT")
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()