osbm commited on
Commit
e609b49
·
1 Parent(s): b2a5411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import streamlit as st
2
  import huggingface_hub as hf_hub
 
 
 
 
 
 
 
 
 
3
 
4
- st.write(st.secrets["HF_TOKEN"])
 
1
  import streamlit as st
2
  import huggingface_hub as hf_hub
3
+ import monai
4
+ import os
5
+
6
+ hf_hub.login(token=st.secrets["HF_TOKEN"])
7
+
8
+ with st.spinner("Downloading Dataset"):
9
+ data_path = hf_hub.hf_hub_download(repo_id="osbm/prostate158", filename="data.zip", repo_type="dataset")
10
+
11
+ st.write(data_path)
12