spine-crook commited on
Commit
98b2f85
·
verified ·
1 Parent(s): 2310bbe

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +12 -5
test.py CHANGED
@@ -15,12 +15,19 @@ _CITATION = """@article{YourDataset2021,
15
  year={2021}
16
  }"""
17
 
18
- _FEATURES = datasets.Features({
19
- "image": datasets.Value("string"), # Change from datasets.Image() to Value("string") if using paths directly
20
- "conditioning_image": datasets.Value("string"),
21
- "text": datasets.Value("string"),
22
- })
23
 
 
 
 
 
 
 
 
24
  METADATA_URL = hf_hub_url(
25
  "spine-crook/test",
26
  filename="train.jsonl",
 
15
  year={2021}
16
  }"""
17
 
18
+ # _FEATURES = datasets.Features({
19
+ # "image": datasets.Value("string"), # Change from datasets.Image() to Value("string") if using paths directly
20
+ # "conditioning_image": datasets.Value("string"),
21
+ # "text": datasets.Value("string"),
22
+ # })
23
 
24
+ _FEATURES = datasets.Features(
25
+ {
26
+ "image": datasets.Image(),
27
+ "conditioning_image": datasets.Image(),
28
+ "text": datasets.Value("string"),
29
+ },
30
+ )
31
  METADATA_URL = hf_hub_url(
32
  "spine-crook/test",
33
  filename="train.jsonl",