File size: 761 Bytes
0f3900d
 
d0c348f
f30f479
 
0f3900d
 
cf7935a
7151579
0f3900d
f30f479
0f3900d
 
 
 
 
f30f479
0f3900d
f30f479
6980834
f30f479
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import streamlit as st

file_path = "BioinformaticsDashboardv0.0..Rmd"

video_path = 'BioinformaticsDashboard v0.0 Demo ‑ Made with RecordCast.mp4'

# 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 .Rmd file
with open(file_path, "rb") as file:
    st.download_button(
        label="Download File",
        data=file,
        file_name=file_path,
        mime="application/Rmd"  # MIME type for RMarkdown files
    )

st.write("There is a very quick demo below to show what an example output might look like! 🦠")
# Display the video
st.video(video_path)