File size: 295 Bytes
33ce98e
b2a5411
e609b49
 
 
 
 
 
 
 
 
33ce98e
1
2
3
4
5
6
7
8
9
10
11
12
13
import streamlit as st
import huggingface_hub as hf_hub
import monai
import os

hf_hub.login(token=st.secrets["HF_TOKEN"])

with st.spinner("Downloading Dataset"):
    data_path = hf_hub.hf_hub_download(repo_id="osbm/prostate158", filename="data.zip", repo_type="dataset")

st.write(data_path)