Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,10 @@ def paginar_frame(df):
|
|
31 |
if 'answer' in row:
|
32 |
if (row['answer']):
|
33 |
st.info(row['answer'])
|
|
|
|
|
|
|
|
|
34 |
st.caption(f"{row['feed'].strip()} - {row['seccion'].strip()} - {row['fecha'].strip()} ")
|
35 |
st.markdown(f"**{row['titulo'].strip()}**")
|
36 |
st.markdown(f"{row['resumen'].strip()}")
|
|
|
31 |
if 'answer' in row:
|
32 |
if (row['answer']):
|
33 |
st.info(row['answer'])
|
34 |
+
row['resumen']=remove_html_markup(row['resumen'])
|
35 |
+
row['resumen']=remove_URL(row['resumen'])
|
36 |
+
if (len(row['resumen']>600))
|
37 |
+
row['resumen']=row['resumen'][0:600]
|
38 |
st.caption(f"{row['feed'].strip()} - {row['seccion'].strip()} - {row['fecha'].strip()} ")
|
39 |
st.markdown(f"**{row['titulo'].strip()}**")
|
40 |
st.markdown(f"{row['resumen'].strip()}")
|