AyushDey commited on
Commit
07e6078
·
1 Parent(s): 9de1457

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -6,5 +6,8 @@ pipe = pipeline('summarization')
6
  def summary(input):
7
  value = pipe(input)
8
  return value[0]['summary_text']
9
- a = gr.Interface(fn=summary, inputs= gr.Textbox(lines=5 label='Enter Text'), outputs = gr.Textbox(label='Summary'), title = 'Text Summarizer')
 
 
 
10
  a.launch()
 
6
  def summary(input):
7
  value = pipe(input)
8
  return value[0]['summary_text']
9
+ a = gr.Interface(fn=summary,
10
+ inputs= gr.Textbox(lines=5, label='Enter Text'),
11
+ outputs = gr.Textbox(label='Summary'),
12
+ title = 'Text Summarizer')
13
  a.launch()