Datasets:
whoops
Browse files
recept.py
CHANGED
@@ -17,7 +17,7 @@ difficulty_translations = {
|
|
17 |
difficulties = ["easy", "medium", "hard"]
|
18 |
|
19 |
|
20 |
-
class
|
21 |
def _info(self):
|
22 |
return datasets.DatasetInfo(
|
23 |
description=_DESCRIPTION,
|
@@ -33,7 +33,7 @@ class Skolmat(datasets.GeneratorBasedBuilder):
|
|
33 |
"rating": datasets.Value("float32"),
|
34 |
"reviews": datasets.Value("int32"),
|
35 |
"instructions": datasets.Sequence(datasets.Value("string")),
|
36 |
-
"
|
37 |
{
|
38 |
"heading": datasets.Value("string"),
|
39 |
"list": datasets.Sequence(
|
|
|
17 |
difficulties = ["easy", "medium", "hard"]
|
18 |
|
19 |
|
20 |
+
class Recept(datasets.GeneratorBasedBuilder):
|
21 |
def _info(self):
|
22 |
return datasets.DatasetInfo(
|
23 |
description=_DESCRIPTION,
|
|
|
33 |
"rating": datasets.Value("float32"),
|
34 |
"reviews": datasets.Value("int32"),
|
35 |
"instructions": datasets.Sequence(datasets.Value("string")),
|
36 |
+
"ingredients": datasets.Sequence(
|
37 |
{
|
38 |
"heading": datasets.Value("string"),
|
39 |
"list": datasets.Sequence(
|