File size: 666 Bytes
0f3900d
 
 
 
 
 
cf7935a
7151579
0f3900d
 
 
 
 
 
 
7151579
0f3900d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

# Provide a description or instructions
st.title("Please make sure you have RStudio and R installed before doing this!")
st.write("Click the button below to download the BioinformaticsDashboard! Currently in version 0 🧬")

# 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/Rmd"  # Change MIME type based on file type (e.g., 'application/pdf')
    )