Spaces:
Sleeping
Sleeping
fix: remove sampling
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ pipe = pipeline(task="summarization", model="facebook/bart-large-cnn")
|
|
| 5 |
text = st.text_area("Summarise the following")
|
| 6 |
|
| 7 |
if text:
|
| 8 |
-
out = pipe(text
|
| 9 |
st.write(out)
|
|
|
|
| 5 |
text = st.text_area("Summarise the following")
|
| 6 |
|
| 7 |
if text:
|
| 8 |
+
out = pipe(text)
|
| 9 |
st.write(out)
|