Datasets:

ArXiv:
Elron commited on
Commit
09d5bc6
1 Parent(s): c14fab4

Upload data.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. data.py +2 -1
data.py CHANGED
@@ -71,7 +71,8 @@ import datasets
71
 
72
  def fetch(artifact_name):
73
  try:
74
- return fetch_artifact(artifact_name)
 
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