Spaces:
Build error
Build error
Added TODO to download_test_data
Browse files- chatbot/data.py +2 -0
chatbot/data.py
CHANGED
@@ -17,6 +17,8 @@ def download_test_data():
|
|
17 |
# url = f"https://drive.google.com/drive/folders/uc?export=download&confirm=pbef&id={file_id}"
|
18 |
url = "https://drive.google.com/drive/folders/1uDSAWtLvp1YPzfXUsK_v6DeWta16pq6y"
|
19 |
with st.spinner(text="Downloading test data. This might take a minute."):
|
|
|
|
|
20 |
download_folder(url=url, quiet=False, use_cookies=False, output="./data/")
|
21 |
|
22 |
@st.cache_resource(show_spinner=False)
|
|
|
17 |
# url = f"https://drive.google.com/drive/folders/uc?export=download&confirm=pbef&id={file_id}"
|
18 |
url = "https://drive.google.com/drive/folders/1uDSAWtLvp1YPzfXUsK_v6DeWta16pq6y"
|
19 |
with st.spinner(text="Downloading test data. This might take a minute."):
|
20 |
+
# @TODO: replace gown solution with a custom solution compatible with GitHub and
|
21 |
+
# use st.progress to get more verbose during download
|
22 |
download_folder(url=url, quiet=False, use_cookies=False, output="./data/")
|
23 |
|
24 |
@st.cache_resource(show_spinner=False)
|