Spaces:
Runtime error
Runtime error
Jorge Henao
commited on
Commit
•
cfc841c
1
Parent(s):
9e6217b
metadata updated on page
Browse files
__pycache__/config.cpython-38.pyc
CHANGED
Binary files a/__pycache__/config.cpython-38.pyc and b/__pycache__/config.cpython-38.pyc differ
|
|
__pycache__/pinecode_quieries.cpython-38.pyc
CHANGED
Binary files a/__pycache__/pinecode_quieries.cpython-38.pyc and b/__pycache__/pinecode_quieries.cpython-38.pyc differ
|
|
app_pinecode.py
CHANGED
@@ -81,10 +81,11 @@ if __name__ == "__main__":
|
|
81 |
doc = answer[2][:250] + "..."
|
82 |
# and url to the full answer
|
83 |
#url = f"https://www.comisiondelaverdad.co/sites/default/files/descargables/2022-06/Informe%20Final%20capi%CC%81tulo%20Hallazgos%20y%20recomendaciones.pdf#page={answer[5]+1}"
|
|
|
84 |
# then we display it
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
|
89 |
st.markdown("---")
|
90 |
else:
|
|
|
81 |
doc = answer[2][:250] + "..."
|
82 |
# and url to the full answer
|
83 |
#url = f"https://www.comisiondelaverdad.co/sites/default/files/descargables/2022-06/Informe%20Final%20capi%CC%81tulo%20Hallazgos%20y%20recomendaciones.pdf#page={answer[5]+1}"
|
84 |
+
url = f"https://petro.presidencia.gov.co/Documents/230213-Reforma-salud.pdf"
|
85 |
# then we display it
|
86 |
+
st.markdown(f'{doc}\n<br>Fuente: {answer[4]}\n<br>Capítulo: {answer[3]}\n<br>Página: {answer[5]}\n[**Lee más aquí**]({url})\n', unsafe_allow_html=True)
|
87 |
+
st.markdown(f"{doc}[**Lee más aquí**]({url})")
|
88 |
+
st.caption(f"Fuente: {answer[4]} - Capítulo: {answer[3]} - Página: {answer[5]}")
|
89 |
|
90 |
st.markdown("---")
|
91 |
else:
|