Spaces:
Sleeping
Sleeping
ericmichael
commited on
Commit
•
4594826
1
Parent(s):
a40c76f
update
Browse files- utils/json_loader.py +2 -2
utils/json_loader.py
CHANGED
@@ -21,10 +21,10 @@ class JsonDataLoader:
|
|
21 |
]
|
22 |
|
23 |
if category == "medium":
|
24 |
-
inputs
|
25 |
example["inputs"] for example in data if example["category"] == "medium"
|
26 |
]
|
27 |
-
outputs
|
28 |
example["outputs"]
|
29 |
for example in data
|
30 |
if example["category"] == "medium"
|
|
|
21 |
]
|
22 |
|
23 |
if category == "medium":
|
24 |
+
inputs += [
|
25 |
example["inputs"] for example in data if example["category"] == "medium"
|
26 |
]
|
27 |
+
outputs += [
|
28 |
example["outputs"]
|
29 |
for example in data
|
30 |
if example["category"] == "medium"
|