Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def main():
|
|
40 |
"[Streamlit](https://streamlit.io) is a Python library that allows the creation of interactive, data-driven web applications in Python."
|
41 |
)
|
42 |
|
43 |
-
st.sidebar.header("
|
44 |
st.sidebar.markdown(
|
45 |
"""
|
46 |
- [Streamlit Documentation](https://docs.streamlit.io/)
|
@@ -56,30 +56,26 @@ def main():
|
|
56 |
)
|
57 |
|
58 |
st.sidebar.header("¿Te gustó mi sitio? ¡Cómprame una café!")
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
|
84 |
df=cargar_articulos()
|
85 |
articulos_indexados = pd.read_csv('articulos_indexados.csv')
|
|
|
40 |
"[Streamlit](https://streamlit.io) is a Python library that allows the creation of interactive, data-driven web applications in Python."
|
41 |
)
|
42 |
|
43 |
+
st.sidebar.header("Artículos Indexados")
|
44 |
st.sidebar.markdown(
|
45 |
"""
|
46 |
- [Streamlit Documentation](https://docs.streamlit.io/)
|
|
|
56 |
)
|
57 |
|
58 |
st.sidebar.header("¿Te gustó mi sitio? ¡Cómprame una café!")
|
59 |
+
with st.sidebar:
|
60 |
+
st.html(
|
61 |
+
"""
|
62 |
+
<div id="donate-button-container">
|
63 |
+
<div id="donate-button"></div>
|
64 |
+
<script src="https://www.paypalobjects.com/donate/sdk/donate-sdk.js" charset="UTF-8"></script>
|
65 |
+
<script>
|
66 |
+
PayPal.Donation.Button({
|
67 |
+
env:'production',
|
68 |
+
hosted_button_id:'VK5ZAB52ZYDNA',
|
69 |
+
image: {
|
70 |
+
src:'https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif',
|
71 |
+
alt:'Donate with PayPal button',
|
72 |
+
title:'PayPal - The safer, easier way to pay online!',
|
73 |
+
}
|
74 |
+
}).render('#donate-button');
|
75 |
+
</script>
|
76 |
+
</div>
|
77 |
+
"""
|
78 |
+
)
|
|
|
|
|
|
|
|
|
79 |
|
80 |
df=cargar_articulos()
|
81 |
articulos_indexados = pd.read_csv('articulos_indexados.csv')
|