Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|