David Day commited on
Commit
281d004
·
unverified ·
1 Parent(s): 3b36384

Update UI.

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -241,9 +241,8 @@ title_markdown = ("""
241
  """)
242
 
243
  tos_markdown = ("""
244
- User agrees to the following terms of use:
245
- 1. The service is a research preview intended for non-commercial use only.
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("""<p style='text-align: center'> Shenghuan Sun, Gregory Goldgof, Alex Schubert, Zhiqing Sun, Atul Butte, Ahmed Alaa <br>
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
- <b>Tips for using this demo:</b>
276
- <ul>
277
- <li>Drop a single image from a bone marrow aspirate whole slide image taken at 40x.</li>
278
- </ul>
 
 
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",