Spaces:
Build error
Build error
Try dynamic value type
Browse files- vendiscore.py +4 -1
vendiscore.py
CHANGED
@@ -76,7 +76,10 @@ def get_dtype(config_name):
|
|
76 |
return datasets.Image
|
77 |
elif config_name in ("X", "K"):
|
78 |
return datasets.Array2D
|
79 |
-
|
|
|
|
|
|
|
80 |
|
81 |
|
82 |
@evaluate.utils.file_utils.add_start_docstrings(
|
|
|
76 |
return datasets.Image
|
77 |
elif config_name in ("X", "K"):
|
78 |
return datasets.Array2D
|
79 |
+
elif config_name == "default":
|
80 |
+
return datasets.Value("string")
|
81 |
+
else:
|
82 |
+
return datasets.Value(config_name)
|
83 |
|
84 |
|
85 |
@evaluate.utils.file_utils.add_start_docstrings(
|