Team Ai
Apppublic

andreped/ReferenceBot

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
data.py13 linesDownload Raw Back to core
1import streamlit as st2from gdown import download_folder3 4 5@st.cache_resource(show_spinner=False)6def download_test_data():7    # url = f"https://drive.google.com/drive/folders/uc?export=download&confirm=pbef&id={file_id}"8    url = "https://drive.google.com/drive/folders/1uDSAWtLvp1YPzfXUsK_v6DeWta16pq6y"9    with st.spinner(text="Downloading test data. This might take a minute."):10        # @TODO: replace gown solution with a custom solution compatible with GitHub and11        # use st.progress to get more verbose during download12        download_folder(url=url, quiet=False, use_cookies=False, output="./data/")13