Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ summarizer = pipeline(task="summarization",
|
|
10 |
|
11 |
# name of the function
|
12 |
def summary(text):
|
13 |
-
return
|
14 |
min_length=10,
|
15 |
max_length=100)
|
16 |
|
|
|
10 |
|
11 |
# name of the function
|
12 |
def summary(text):
|
13 |
+
return summarizer(text,
|
14 |
min_length=10,
|
15 |
max_length=100)
|
16 |
|