Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -164,7 +164,8 @@ def show_download_links(subdir):
|
|
| 164 |
sequence_number = file_sequence_numbers[file_path]
|
| 165 |
|
| 166 |
if os.path.isfile(file_path):
|
| 167 |
-
st.markdown(get_download_link(file_path), unsafe_allow_html=True)
|
|
|
|
| 168 |
show_file_operations(file_path, sequence_number)
|
| 169 |
else:
|
| 170 |
st.write(f"File not found: {file}")
|
|
|
|
| 164 |
sequence_number = file_sequence_numbers[file_path]
|
| 165 |
|
| 166 |
if os.path.isfile(file_path):
|
| 167 |
+
#st.markdown(get_download_link(file_path), unsafe_allow_html=True)
|
| 168 |
+
st.markdown(file_path, unsafe_allow_html=True) # faster than encapsulating file into base64 download link
|
| 169 |
show_file_operations(file_path, sequence_number)
|
| 170 |
else:
|
| 171 |
st.write(f"File not found: {file}")
|