Spaces:
Sleeping
Sleeping
Commit
·
8b45b0c
1
Parent(s):
cde6ebd
Add example prompts for biomedical image detection in main.py
Browse files
main.py
CHANGED
@@ -91,10 +91,29 @@ def run():
|
|
91 |
title="BiomedParse Demo",
|
92 |
description="Upload a biomedical image and enter prompts (separated by commas) to detect specific features.",
|
93 |
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
[
|
95 |
"examples/Part_1_516_pathology_breast.png",
|
96 |
"neoplastic cells, inflammatory cells",
|
97 |
-
]
|
|
|
|
|
|
|
98 |
],
|
99 |
)
|
100 |
|
|
|
91 |
title="BiomedParse Demo",
|
92 |
description="Upload a biomedical image and enter prompts (separated by commas) to detect specific features.",
|
93 |
examples=[
|
94 |
+
["examples/144DME_as_F.jpeg", "edema"],
|
95 |
+
["examples/C3_EndoCV2021_00462.jpg", "polyp"],
|
96 |
+
["examples/covid_1585.png", "left lung"],
|
97 |
+
["examples/covid_1585.png", "right lung"],
|
98 |
+
["examples/covid_1585.png", "COVID-19 infection"],
|
99 |
+
["examples/ISIC_0015551.jpg", "lesion"],
|
100 |
+
["examples/LIDC-IDRI-0140_143_280_CT_lung.png", "lung nodule"],
|
101 |
+
["examples/LIDC-IDRI-0140_143_280_CT_lung.png", "COVID-19 infection"],
|
102 |
+
[
|
103 |
+
"examples/Part_1_516_pathology_breast.png",
|
104 |
+
"connective tissue cells",
|
105 |
+
],
|
106 |
+
[
|
107 |
+
"examples/Part_1_516_pathology_breast.png",
|
108 |
+
"neoplastic cells",
|
109 |
+
],
|
110 |
[
|
111 |
"examples/Part_1_516_pathology_breast.png",
|
112 |
"neoplastic cells, inflammatory cells",
|
113 |
+
],
|
114 |
+
["examples/T0011.jpg", "optic disc"],
|
115 |
+
["examples/T0011.jpg", "optic cup"],
|
116 |
+
["examples/TCGA_HT_7856_19950831_8_MRI-FLAIR_brain.png", "glioma"],
|
117 |
],
|
118 |
)
|
119 |
|