Spaces:
Running
Running
Commit
·
5cac937
1
Parent(s):
ac90c02
fix: correct dataset loading in DrawBenchPrompts to ensure proper retrieval of test data
Browse files- benchmark/draw_bench.py +1 -1
benchmark/draw_bench.py
CHANGED
|
@@ -6,7 +6,7 @@ from datasets import load_dataset
|
|
| 6 |
|
| 7 |
class DrawBenchPrompts:
|
| 8 |
def __init__(self):
|
| 9 |
-
self.dataset = load_dataset("shunk031/DrawBench"
|
| 10 |
|
| 11 |
def __iter__(self) -> Iterator[Tuple[str, Path]]:
|
| 12 |
for i, row in enumerate(self.dataset):
|
|
|
|
| 6 |
|
| 7 |
class DrawBenchPrompts:
|
| 8 |
def __init__(self):
|
| 9 |
+
self.dataset = load_dataset("shunk031/DrawBench")["test"]
|
| 10 |
|
| 11 |
def __iter__(self) -> Iterator[Tuple[str, Path]]:
|
| 12 |
for i, row in enumerate(self.dataset):
|