Upload folder using huggingface_hub
Browse files
data.py
CHANGED
@@ -34,9 +34,9 @@ class Data:
|
|
34 |
def download_data(self):
|
35 |
# Download the already indexed data
|
36 |
if not os.path.exists("./chroma_db"):
|
37 |
-
try:
|
38 |
print("Downloading data...")
|
39 |
-
file_id = "
|
40 |
url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
41 |
output = "chroma_db.zip"
|
42 |
gdown.download(url, output, quiet=False)
|
|
|
34 |
def download_data(self):
|
35 |
# Download the already indexed data
|
36 |
if not os.path.exists("./chroma_db"):
|
37 |
+
try:
|
38 |
print("Downloading data...")
|
39 |
+
file_id = "1JvYQ9E5zDBKRCUKkxejDvp7UGwzxDAUW"
|
40 |
url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
41 |
output = "chroma_db.zip"
|
42 |
gdown.download(url, output, quiet=False)
|