Skip to content

Commit 86ebea5

Browse files
Update testset.py
1 parent e7e4aaa commit 86ebea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎giskard/rag/testset.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def push_to_hf_hub(
160160

161161
config = {"metadata": get_default_client().get_config()}
162162
except Exception:
163-
config = None
163+
config = {}
164164
content = template.format(repo_id=repo_id, num_items=len(self._dataframe), config=json.dumps(config, indent=4))
165165
return DatasetCard(content=content).push_to_hub(repo_id=repo_id, token=token, repo_type="dataset")
166166

0 commit comments

Comments
 (0)