Update app.py
Browse files
app.py
CHANGED
@@ -218,8 +218,7 @@ with st.expander("See extra options"):
|
|
218 |
st.subheader("Select chunk size: ")
|
219 |
st.write("Smaller chunks means more of the article included in the summary and a longer digest.")
|
220 |
chunk_size = st.select_slider(label="Chunk size", options=[i for i in range(50,801,50)], value=400)
|
221 |
-
|
222 |
-
temperature = st.slider(label="Temperature", min_value=1.0, max_value=100.0, value=1.0)
|
223 |
|
224 |
|
225 |
selections = []
|
@@ -250,7 +249,7 @@ with st.form(key='columns_in_form'):
|
|
250 |
|
251 |
# Digestor uses 'chosen' to create digest.
|
252 |
# 'user_choicese' is passed for reference.
|
253 |
-
digestor = Digestor(timer=Timer(), cache = USE_CACHE, stubs=chosen, user_choices=selections, token_limit=1024, word_limit=chunk_size
|
254 |
# happens internally but may be used differently so it isn't automatic upon digestor creation.
|
255 |
# Easily turn caching off for testing.
|
256 |
st.subheader("What you'll see:")
|
|
|
218 |
st.subheader("Select chunk size: ")
|
219 |
st.write("Smaller chunks means more of the article included in the summary and a longer digest.")
|
220 |
chunk_size = st.select_slider(label="Chunk size", options=[i for i in range(50,801,50)], value=400)
|
221 |
+
|
|
|
222 |
|
223 |
|
224 |
selections = []
|
|
|
249 |
|
250 |
# Digestor uses 'chosen' to create digest.
|
251 |
# 'user_choicese' is passed for reference.
|
252 |
+
digestor = Digestor(timer=Timer(), cache = USE_CACHE, stubs=chosen, user_choices=selections, token_limit=1024, word_limit=chunk_size)
|
253 |
# happens internally but may be used differently so it isn't automatic upon digestor creation.
|
254 |
# Easily turn caching off for testing.
|
255 |
st.subheader("What you'll see:")
|