Update app.py
Browse files
app.py
CHANGED
@@ -329,6 +329,7 @@ with st.form(key='columns_in_form'):
|
|
329 |
sources = {}
|
330 |
for i in clusters[each]:
|
331 |
if i[3].source_name not in sources:
|
|
|
332 |
sources[i[3].source_name] = 0
|
333 |
else:
|
334 |
print("One or more articles on the same topic may have come from different sources. \n\n This may cause redundancy in the digest, though it can also add further clarity, if the two articles are significantly different.")
|
|
|
329 |
sources = {}
|
330 |
for i in clusters[each]:
|
331 |
if i[3].source_name not in sources:
|
332 |
+
st.write(f"i[3].source_name: {i[3].source_name}")
|
333 |
sources[i[3].source_name] = 0
|
334 |
else:
|
335 |
print("One or more articles on the same topic may have come from different sources. \n\n This may cause redundancy in the digest, though it can also add further clarity, if the two articles are significantly different.")
|