Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,9 +22,9 @@ import gdown
|
|
| 22 |
archive_url = 'https://drive.google.com/uc?id=14QhofCbby053kWbVeWEBHCxOROQS-bjN'
|
| 23 |
# Specify the destination directory within the Hugging Face space
|
| 24 |
# Download the archive
|
| 25 |
-
output_path = 'PicturesText'
|
| 26 |
#destination_dir = 'SaviAnna/PicturesText' # Replace with your desired destination directory
|
| 27 |
-
|
| 28 |
# Construct the destination path
|
| 29 |
#destination_path = hf_hub_url(destination_dir)
|
| 30 |
# Download the archive to the destination path
|
|
|
|
| 22 |
archive_url = 'https://drive.google.com/uc?id=14QhofCbby053kWbVeWEBHCxOROQS-bjN'
|
| 23 |
# Specify the destination directory within the Hugging Face space
|
| 24 |
# Download the archive
|
| 25 |
+
output_path = 'SaviAnna/PicturesText/archive.zip'
|
| 26 |
#destination_dir = 'SaviAnna/PicturesText' # Replace with your desired destination directory
|
| 27 |
+
os.makedirs(output_path,exist_ok=True)
|
| 28 |
# Construct the destination path
|
| 29 |
#destination_path = hf_hub_url(destination_dir)
|
| 30 |
# Download the archive to the destination path
|