Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from huggingface_hub import hf_hub_download
|
|
| 3 |
import json
|
| 4 |
import gzip
|
| 5 |
|
| 6 |
-
filepath = hf_hub_download(repo_id="bigcode/the-stack-username-to-repo", filename="username_to_repo.json.gz", repo_type="dataset")
|
| 7 |
|
| 8 |
with gzip.open(filepath, 'r') as f:
|
| 9 |
usernames = json.loads(f.read().decode('utf-8'))
|
|
|
|
| 3 |
import json
|
| 4 |
import gzip
|
| 5 |
|
| 6 |
+
filepath = hf_hub_download(repo_id="bigcode/the-stack-username-to-repo", filename="username_to_repo.json.gz", repo_type="dataset", revision="v1.1")
|
| 7 |
|
| 8 |
with gzip.open(filepath, 'r') as f:
|
| 9 |
usernames = json.loads(f.read().decode('utf-8'))
|