Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,6 @@ def get_summary(text):
|
|
5 |
classifier = pipeline("summarization")
|
6 |
return classifier(text)
|
7 |
|
8 |
-
gr.
|
9 |
|
10 |
|
|
|
5 |
classifier = pipeline("summarization")
|
6 |
return classifier(text)
|
7 |
|
8 |
+
gr.Interface(fn=get_summary, inputs="text", outputs="text").launch()
|
9 |
|
10 |
|