Update app.py
Browse files
app.py
CHANGED
@@ -320,9 +320,10 @@ with st.form(key='columns_in_form'):
|
|
320 |
# Same article from different sources
|
321 |
st.subheader("Text redundancy: ")
|
322 |
for each in selections:
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
|
|
327 |
st.write("If more than one source have their own versions of the same topic from the same perspective, the result may be repetitive, or it may add nuance and the two summaries may complement each other.")
|
328 |
|
|
|
320 |
# Same article from different sources
|
321 |
st.subheader("Text redundancy: ")
|
322 |
for each in selections:
|
323 |
+
if each != 'None':
|
324 |
+
# check if two source articles share a cluster and not a source.
|
325 |
+
for i in clusters[each]:
|
326 |
+
st.write(i[3].source_name)
|
327 |
+
|
328 |
st.write("If more than one source have their own versions of the same topic from the same perspective, the result may be repetitive, or it may add nuance and the two summaries may complement each other.")
|
329 |
|