Spaces:
Configuration error
Configuration error
David Day
commited on
Update UI.
Browse files
app.py
CHANGED
|
@@ -241,9 +241,8 @@ title_markdown = ("""
|
|
| 241 |
""")
|
| 242 |
|
| 243 |
tos_markdown = ("""
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
2. The service is provided "as is" without warranty of any kind.
|
| 247 |
""")
|
| 248 |
|
| 249 |
|
|
@@ -269,13 +268,14 @@ def build_demo(cur_dir=None, concurrency_count=10):
|
|
| 269 |
with gr.Row():
|
| 270 |
with gr.Column(scale=2):
|
| 271 |
# add a description
|
| 272 |
-
gr.Markdown("""
|
| 273 |
-
This is the demo for Dr-LLaVA. So far it could only be used for H&E stained Bone Marrow Aspirate images application.</p>
|
| 274 |
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
|
|
|
|
|
|
| 279 |
""")
|
| 280 |
# Replace 'path_to_image' with the path to your image file
|
| 281 |
gr.Image(value="https://davidday.tw/wp-content/uploads/2024/08/Dr-LLa-VA-Fig-1.jpg",
|
|
|
|
| 241 |
""")
|
| 242 |
|
| 243 |
tos_markdown = ("""
|
| 244 |
+
This demo is intended for research purposes only and not for medical use.
|
| 245 |
+
The model has not been fine-tuned on non-medical images.
|
|
|
|
| 246 |
""")
|
| 247 |
|
| 248 |
|
|
|
|
| 268 |
with gr.Row():
|
| 269 |
with gr.Column(scale=2):
|
| 270 |
# add a description
|
| 271 |
+
gr.Markdown("""Shenghuan Sun, Gregory Goldgof, Alex Schubert, Zhiqing Sun, Atul Butte, Ahmed Alaa
|
|
|
|
| 272 |
|
| 273 |
+
Demo Creator: [David W. Day](https://github.com/daviddaytw)
|
| 274 |
+
|
| 275 |
+
This is the demo for Dr-LLaVA: a conversational vision-language model for diagnosing blood cancer using Bone Marrow Aspirate images.
|
| 276 |
+
|
| 277 |
+
**Instructions:**
|
| 278 |
+
- Drop a single image from a bone marrow aspirate whole slide image taken at 40x.</li>
|
| 279 |
""")
|
| 280 |
# Replace 'path_to_image' with the path to your image file
|
| 281 |
gr.Image(value="https://davidday.tw/wp-content/uploads/2024/08/Dr-LLa-VA-Fig-1.jpg",
|