Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,7 @@ with st.form(key='columns_in_form'):
|
|
| 216 |
chunk_size = st.slider(label="Slider", min_value=100, max_value=800)
|
| 217 |
# Digestor uses 'chosen' to create digest.
|
| 218 |
# 'user_choicese' is passed for reference.
|
| 219 |
-
digestor = Digestor(timer=Timer(), cache = USE_CACHE, stubs=chosen, user_choices=selections,
|
| 220 |
# happens internally but may be used differently so it isn't automatic upon digestor creation.
|
| 221 |
# Easily turn caching off for testing.
|
| 222 |
st.warning("What you'll see:")
|
|
|
|
| 216 |
chunk_size = st.slider(label="Slider", min_value=100, max_value=800)
|
| 217 |
# Digestor uses 'chosen' to create digest.
|
| 218 |
# 'user_choicese' is passed for reference.
|
| 219 |
+
digestor = Digestor(timer=Timer(), cache = USE_CACHE, stubs=chosen, user_choices=selections, token_limit=1024, word_limit=chunk_size)
|
| 220 |
# happens internally but may be used differently so it isn't automatic upon digestor creation.
|
| 221 |
# Easily turn caching off for testing.
|
| 222 |
st.warning("What you'll see:")
|