Upload data.py with huggingface_hub
Browse files
data.py
CHANGED
@@ -71,7 +71,8 @@ import datasets
|
|
71 |
|
72 |
def fetch(artifact_name):
|
73 |
try:
|
74 |
-
|
|
|
75 |
except UnitxtArtifactNotFoundError:
|
76 |
return None
|
77 |
|
|
|
71 |
|
72 |
def fetch(artifact_name):
|
73 |
try:
|
74 |
+
artifact, _ = fetch_artifact(artifact_name)
|
75 |
+
return artifact
|
76 |
except UnitxtArtifactNotFoundError:
|
77 |
return None
|
78 |
|