Upload catalog.py with huggingface_hub
Browse files- 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.
|
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):
|