TheBobBob commited on
Commit
7151579
·
verified ·
1 Parent(s): 0f3900d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -3,11 +3,8 @@ import streamlit as st
3
  # File path of the file you uploaded to Hugging Face Space
4
  file_path = "BioinformaticsDashboardv0.0..Rmd" # Change this to the exact file name
5
 
6
- # Display the title of the app
7
- st.title("Download Your File")
8
-
9
  # Provide a description or instructions
10
- st.write("Click the button below to download the file.")
11
 
12
  # Button to download the file
13
  with open(file_path, "rb") as file:
@@ -15,5 +12,5 @@ with open(file_path, "rb") as file:
15
  label="Download File",
16
  data=file,
17
  file_name=file_path,
18
- mime="application/zip" # Change MIME type based on file type (e.g., 'application/pdf')
19
  )
 
3
  # File path of the file you uploaded to Hugging Face Space
4
  file_path = "BioinformaticsDashboardv0.0..Rmd" # Change this to the exact file name
5
 
 
 
 
6
  # Provide a description or instructions
7
+ st.write("Click the button below to download the BioinformaticsDashboard! Currently in version 0 🧬")
8
 
9
  # Button to download the file
10
  with open(file_path, "rb") as file:
 
12
  label="Download File",
13
  data=file,
14
  file_name=file_path,
15
+ mime="application/Rmd" # Change MIME type based on file type (e.g., 'application/pdf')
16
  )