Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ with st.spinner("Generating Patent Summary.."):
|
|
| 18 |
if button and sentence:
|
| 19 |
#chunks = generate_chunks(sentence)
|
| 20 |
res = summarize(sentence,
|
| 21 |
-
max_length=
|
| 22 |
min_length=100,
|
| 23 |
truncation=True,
|
| 24 |
#do_sample=do_sample
|
|
|
|
| 18 |
if button and sentence:
|
| 19 |
#chunks = generate_chunks(sentence)
|
| 20 |
res = summarize(sentence,
|
| 21 |
+
max_length=500,
|
| 22 |
min_length=100,
|
| 23 |
truncation=True,
|
| 24 |
#do_sample=do_sample
|