original paragraph info passed
Browse files
app.py
CHANGED
@@ -209,7 +209,7 @@ if 'paragraph_sentence_encodings' in st.session_state:
|
|
209 |
|
210 |
paragraph_scores.append(
|
211 |
(top_three_avg_similarity, top_three_avg_commonality,
|
212 |
-
{'modified_text': modified_paragraph, 'original_text':
|
213 |
)
|
214 |
|
215 |
sentence_scores = sorted(sentence_scores, key=lambda x: x[0], reverse=True)
|
|
|
209 |
|
210 |
paragraph_scores.append(
|
211 |
(top_three_avg_similarity, top_three_avg_commonality,
|
212 |
+
{'modified_text': modified_paragraph, 'original_text': paragraph_sentence_encoding[0]})
|
213 |
)
|
214 |
|
215 |
sentence_scores = sorted(sentence_scores, key=lambda x: x[0], reverse=True)
|