Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ bert_legal_model = Summarizer(custom_model=custom_model, custom_tokenizer=custom
|
|
166 |
print('Using model {}\n'.format(model_name))
|
167 |
|
168 |
# Get the extracted claims from Streamlit's session state
|
169 |
-
claims_extracted = st.session_state.claims_extraction
|
170 |
|
171 |
# Define the chunk size
|
172 |
chunk_size = 350
|
|
|
166 |
print('Using model {}\n'.format(model_name))
|
167 |
|
168 |
# Get the extracted claims from Streamlit's session state
|
169 |
+
# claims_extracted = st.session_state.claims_extraction #moved up
|
170 |
|
171 |
# Define the chunk size
|
172 |
chunk_size = 350
|