awacke1 commited on
Commit
b8c60a9
·
1 Parent(s): ef6c6c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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}")