Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,10 @@ from huggingface_hub import snapshot_download
|
|
7 |
# Define repository and local directory
|
8 |
repo_id = "ai-forever/GHOST-2.0-repo" # HF repo
|
9 |
local_dir = "./" # Target local directory
|
|
|
10 |
|
11 |
# Download the entire repository
|
12 |
-
snapshot_download(repo_id=repo_id, local_dir=local_dir)
|
13 |
|
14 |
print(f"Repository downloaded to: {local_dir}")
|
15 |
|
|
|
7 |
# Define repository and local directory
|
8 |
repo_id = "ai-forever/GHOST-2.0-repo" # HF repo
|
9 |
local_dir = "./" # Target local directory
|
10 |
+
token = 'ZmFkErsuOmQmzamthRecuBoAhqYuvLiumF'
|
11 |
|
12 |
# Download the entire repository
|
13 |
+
snapshot_download(repo_id=repo_id, local_dir=local_dir, token=f'hf_{token}')
|
14 |
|
15 |
print(f"Repository downloaded to: {local_dir}")
|
16 |
|