Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,14 +246,14 @@ with col2:
|
|
| 246 |
# Add a small space
|
| 247 |
st.markdown('<div style="height: 15px;"></div>', unsafe_allow_html=True)
|
| 248 |
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
|
| 258 |
# Footer
|
| 259 |
st.markdown('---')
|
|
|
|
| 246 |
# Add a small space
|
| 247 |
st.markdown('<div style="height: 15px;"></div>', unsafe_allow_html=True)
|
| 248 |
|
| 249 |
+
# Apply the custom button style before rendering the download button
|
| 250 |
+
st.markdown('<style>div.stDownloadButton > button {your-custom-styles-here}</style>', unsafe_allow_html=True)
|
| 251 |
+
st.download_button(
|
| 252 |
+
label="Descargar Oferta",
|
| 253 |
+
data=st.session_state.offer_result,
|
| 254 |
+
file_name="oferta_generada.txt",
|
| 255 |
+
mime="text/plain"
|
| 256 |
+
)
|
| 257 |
|
| 258 |
# Footer
|
| 259 |
st.markdown('---')
|