import streamlit as st # File path of the file you uploaded to Hugging Face Space file_path = "BioinformaticsDashboardv0.0..Rmd" # Change this to the exact file name # Display the title of the app st.title("Download Your File") # Provide a description or instructions st.write("Click the button below to download the file.") # Button to download the file with open(file_path, "rb") as file: st.download_button( label="Download File", data=file, file_name=file_path, mime="application/zip" # Change MIME type based on file type (e.g., 'application/pdf') )