AyushDey commited on
Commit
21d3046
·
1 Parent(s): 77fcb58

Update app.py

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