Spaces:
Runtime error
Runtime error
wendys-llc
commited on
Commit
•
b55ce46
1
Parent(s):
8740e5c
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ Once the wool fibers have been carded, they are ready for spinning. Spinning is
|
|
18 |
"""
|
19 |
]
|
20 |
|
21 |
-
summarizer = pipeline("summarization", model="
|
22 |
|
23 |
def summarize(text):
|
24 |
return summarizer(text, max_length=130, min_length=30, do_sample=False)
|
|
|
18 |
"""
|
19 |
]
|
20 |
|
21 |
+
summarizer = pipeline("summarization", model="philschmid/flan-t5-base-samsum")
|
22 |
|
23 |
def summarize(text):
|
24 |
return summarizer(text, max_length=130, min_length=30, do_sample=False)
|