Update ctscandataset.py
Browse files- ctscandataset.py +4 -4
ctscandataset.py
CHANGED
|
@@ -9,16 +9,16 @@ year={2022}
|
|
| 9 |
"""
|
| 10 |
|
| 11 |
_DESCRIPTION = """\
|
| 12 |
-
|
| 13 |
"""
|
| 14 |
_HOMEPAGE = "https://huggingface.co/datasets/Souvikrad365/brainctgen1"
|
| 15 |
|
| 16 |
_LICENSE = ""
|
| 17 |
#descriptions=['CT scan image of a brain with intracranial hemorrhage']
|
| 18 |
-
|
| 19 |
|
| 20 |
# Create a list with the description repeated 220 times
|
| 21 |
-
descriptions = [
|
| 22 |
|
| 23 |
_REPO = "https://huggingface.co/datasets/Souvikrad365/brainctgen1"
|
| 24 |
|
|
@@ -27,7 +27,7 @@ class ImageSet(datasets.GeneratorBasedBuilder):
|
|
| 27 |
|
| 28 |
def _info(self):
|
| 29 |
return datasets.DatasetInfo(
|
| 30 |
-
|
| 31 |
features=datasets.Features(
|
| 32 |
{
|
| 33 |
'text': datasets.Value("string"),
|
|
|
|
| 9 |
"""
|
| 10 |
|
| 11 |
_DESCRIPTION = """\
|
| 12 |
+
DEMO..
|
| 13 |
"""
|
| 14 |
_HOMEPAGE = "https://huggingface.co/datasets/Souvikrad365/brainctgen1"
|
| 15 |
|
| 16 |
_LICENSE = ""
|
| 17 |
#descriptions=['CT scan image of a brain with intracranial hemorrhage']
|
| 18 |
+
description1 = "CT scan image of a brain with intracranial hemorrhage"
|
| 19 |
|
| 20 |
# Create a list with the description repeated 220 times
|
| 21 |
+
descriptions = [description1] * 220
|
| 22 |
|
| 23 |
_REPO = "https://huggingface.co/datasets/Souvikrad365/brainctgen1"
|
| 24 |
|
|
|
|
| 27 |
|
| 28 |
def _info(self):
|
| 29 |
return datasets.DatasetInfo(
|
| 30 |
+
description=_DESCRIPTION,
|
| 31 |
features=datasets.Features(
|
| 32 |
{
|
| 33 |
'text': datasets.Value("string"),
|