Elron commited on
Commit
234b03b
1 Parent(s): 371536d

Upload catalog.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. catalog.py +1 -1
catalog.py CHANGED
@@ -105,7 +105,7 @@ class GithubCatalog(LocalCatalog):
105
  response = requests.get(url)
106
  data = response.json()
107
  new_artifact = Artifact.from_dict(data, overwrite_args=overwrite_args)
108
- new_artifact.artifact_identifier = artifact_identifier
109
  return new_artifact
110
 
111
  def __contains__(self, artifact_identifier: str):
 
105
  response = requests.get(url)
106
  data = response.json()
107
  new_artifact = Artifact.from_dict(data, overwrite_args=overwrite_args)
108
+ new_artifact.__id__ = artifact_identifier
109
  return new_artifact
110
 
111
  def __contains__(self, artifact_identifier: str):