Spaces:
Sleeping
Sleeping
kernel-luso-comfort
commited on
Commit
·
d47dcdb
1
Parent(s):
380e0a4
Update main.py description and usage instructions; remove unused image asset
Browse files- assets/gpt4_ontology_hierarchy.png +0 -3
- main.py +18 -6
assets/gpt4_ontology_hierarchy.png
DELETED
Git LFS Details
|
main.py
CHANGED
@@ -31,14 +31,27 @@ else:
|
|
31 |
gr.set_static_paths(["assets"])
|
32 |
|
33 |
|
34 |
-
description = """
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
-
|
37 |
-
![gpt4_ontology_hierarchy.png](file/assets/gpt4_ontology_hierarchy.png)
|
38 |
|
39 |
-
|
|
|
|
|
|
|
40 |
|
41 |
-
The model
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
- [Computed Tomography (CT)](https://en.wikipedia.org/wiki/Computed_tomography)
|
44 |
- [Magnetic Resonance Imaging (MRI)](https://en.wikipedia.org/wiki/Magnetic_resonance_imaging)
|
@@ -50,7 +63,6 @@ The model understands these types of biomedical images:
|
|
50 |
- [Endoscopy](https://en.wikipedia.org/wiki/Endoscopy)
|
51 |
- [Optical Coherence Tomography (OCT)](https://en.wikipedia.org/wiki/Optical_coherence_tomography)
|
52 |
|
53 |
-
This Space is based on the [BiomedParse model](https://microsoft.github.io/BiomedParse/).
|
54 |
"""
|
55 |
|
56 |
|
|
|
31 |
gr.set_static_paths(["assets"])
|
32 |
|
33 |
|
34 |
+
description = """\
|
35 |
+
This Space is based on the [BiomedParse model](https://microsoft.github.io/BiomedParse/).
|
36 |
+
|
37 |
+
BiomedParse is a model that can detect various targets like organs, diseases, and more
|
38 |
+
in biomedical images. The biomedical images can be of different types like CT, MRI, X-ray, etc.
|
39 |
+
|
40 |
+
> Note: Don't use this model for medical diagnosis. Always consult a healthcare professional for medical advice.
|
41 |
|
42 |
+
## How to use this demo
|
|
|
43 |
|
44 |
+
1. Upload a biomedical image
|
45 |
+
2. Select the modality type
|
46 |
+
3. Select the targets you want to detect
|
47 |
+
4. Click on the 'Submit' button to see the prediction
|
48 |
|
49 |
+
The model will highlight the detected targets in the image and show the targets that were not found below the image.
|
50 |
+
Each target is represented by a different color.
|
51 |
+
Each target comes with a p-value. A target whose p-value is below 0.05 is considered "not found".
|
52 |
+
For more details, check out the paper [BiomedParse: a biomedical foundation model for image parsing of everything everywhere all at once](https://arxiv.org/abs/2405.12971).
|
53 |
+
|
54 |
+
## Modality Types
|
55 |
|
56 |
- [Computed Tomography (CT)](https://en.wikipedia.org/wiki/Computed_tomography)
|
57 |
- [Magnetic Resonance Imaging (MRI)](https://en.wikipedia.org/wiki/Magnetic_resonance_imaging)
|
|
|
63 |
- [Endoscopy](https://en.wikipedia.org/wiki/Endoscopy)
|
64 |
- [Optical Coherence Tomography (OCT)](https://en.wikipedia.org/wiki/Optical_coherence_tomography)
|
65 |
|
|
|
66 |
"""
|
67 |
|
68 |
|