Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,6 +110,11 @@ def convert_txt_to_md(file):
|
|
| 110 |
except Exception as e:
|
| 111 |
logger.error(f"Error converting TXT to MD: {e}")
|
| 112 |
return ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
def convert_file_to_md(file):
|
| 115 |
"""
|
|
@@ -1201,11 +1206,6 @@ def download_trustbuilder_as_md(content, trustbuilder_id):
|
|
| 1201 |
st.sidebar.markdown(download_link, unsafe_allow_html=True)
|
| 1202 |
|
| 1203 |
|
| 1204 |
-
def display_save_confirmation(type_saved):
|
| 1205 |
-
"""
|
| 1206 |
-
Display a confirmation message when content is saved.
|
| 1207 |
-
"""
|
| 1208 |
-
st.info(f"Content successfully saved as **{type_saved}**!")
|
| 1209 |
|
| 1210 |
|
| 1211 |
|
|
|
|
| 110 |
except Exception as e:
|
| 111 |
logger.error(f"Error converting TXT to MD: {e}")
|
| 112 |
return ""
|
| 113 |
+
def display_save_confirmation(type_saved):
|
| 114 |
+
"""
|
| 115 |
+
Display a confirmation message when content is saved.
|
| 116 |
+
"""
|
| 117 |
+
st.info(f"Content successfully saved as **{type_saved}**!")
|
| 118 |
|
| 119 |
def convert_file_to_md(file):
|
| 120 |
"""
|
|
|
|
| 1206 |
st.sidebar.markdown(download_link, unsafe_allow_html=True)
|
| 1207 |
|
| 1208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1209 |
|
| 1210 |
|
| 1211 |
|