Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ with st.sidebar:
|
|
231 |
|
232 |
# Download button for Markdown with new naming convention and double emoji label
|
233 |
st.download_button(
|
234 |
-
label="
|
235 |
data=st.session_state.markdown_content,
|
236 |
file_name=f"{prefix} {selected_md}.md" if selected_md else f"{prefix} default.md",
|
237 |
mime="text/markdown"
|
@@ -250,7 +250,7 @@ with st.sidebar:
|
|
250 |
with open(audio_file, "rb") as f:
|
251 |
audio_bytes = f.read()
|
252 |
st.download_button(
|
253 |
-
label="
|
254 |
data=audio_bytes,
|
255 |
file_name=audio_filename,
|
256 |
mime="audio/mpeg"
|
@@ -269,7 +269,7 @@ with st.container():
|
|
269 |
|
270 |
with st.sidebar:
|
271 |
st.download_button(
|
272 |
-
label="
|
273 |
data=pdf_bytes,
|
274 |
file_name=f"{prefix} {selected_md}.pdf" if selected_md else f"{prefix} output.pdf",
|
275 |
mime="application/pdf"
|
|
|
231 |
|
232 |
# Download button for Markdown with new naming convention and double emoji label
|
233 |
st.download_button(
|
234 |
+
label="πΎπ Save Markdown",
|
235 |
data=st.session_state.markdown_content,
|
236 |
file_name=f"{prefix} {selected_md}.md" if selected_md else f"{prefix} default.md",
|
237 |
mime="text/markdown"
|
|
|
250 |
with open(audio_file, "rb") as f:
|
251 |
audio_bytes = f.read()
|
252 |
st.download_button(
|
253 |
+
label="πΎπ Save Audio",
|
254 |
data=audio_bytes,
|
255 |
file_name=audio_filename,
|
256 |
mime="audio/mpeg"
|
|
|
269 |
|
270 |
with st.sidebar:
|
271 |
st.download_button(
|
272 |
+
label="πΎπ Save PDF",
|
273 |
data=pdf_bytes,
|
274 |
file_name=f"{prefix} {selected_md}.pdf" if selected_md else f"{prefix} output.pdf",
|
275 |
mime="application/pdf"
|