Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
data.py
CHANGED
@@ -29,10 +29,6 @@ class Data:
|
|
29 |
url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
30 |
output = "chroma_db.zip"
|
31 |
gdown.download(url, output, quiet=False)
|
32 |
-
# download_file_from_google_drive(file_id, "chroma_db.zip")
|
33 |
-
# url = "https://drive.google.com/file/d/12xLx8J0dhtZuc8G-7xVyldLVnB3eTmxe/view?usp=sharing"
|
34 |
-
# url = "https://drive.google.com/uc?export=download&id=12xLx8J0dhtZuc8G-7xVyldLVnB3eTmxe"
|
35 |
-
# os.system(f"wget {url} -O chroma_db.zip")
|
36 |
print("Unzipping data...")
|
37 |
os.system("unzip chroma_db.zip")
|
38 |
except Exception as e:
|
|
|
29 |
url = f"https://drive.google.com/uc?export=download&id={file_id}"
|
30 |
output = "chroma_db.zip"
|
31 |
gdown.download(url, output, quiet=False)
|
|
|
|
|
|
|
|
|
32 |
print("Unzipping data...")
|
33 |
os.system("unzip chroma_db.zip")
|
34 |
except Exception as e:
|