JHong commited on
Commit
dd2ed3f
1 Parent(s): e2d1b00

Add application file

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -339,6 +339,7 @@ def http_bot(
339
  title_markdown = """
340
  # CXR-LLaVA: Chest X-Ray Large Language and Vision Assistant - Online Demo
341
  🥰 This project is based on the codebase of [LLaVA](https://llava-vl.github.io/) by Haotian Liu et al. Many thanks to them! As CXR-LLaVA is temporarily not released as a paper, please [cite their work](https://github.com/haotian-liu/LLaVA/tree/main#citation) if you are further developing on CXR-LLaVA.
 
342
  """
343
 
344
  tos_markdown = """
@@ -352,7 +353,9 @@ For an optimal experience, please use desktop computers for this demo, as mobile
352
 
353
  learn_more_markdown = """
354
  ### License
355
- The service is a research preview intended for non-commercial use only, subject to the model [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA, [Terms of Use](https://openai.com/policies/terms-of-use) of the data generated by OpenAI, and [Privacy Practices](https://chrome.google.com/webstore/detail/sharegpt-share-your-chatg/daiacboceoaocpibfodeljbdfacokfjb) of ShareGPT. Please contact us if you find any potential violation.
 
 
356
  """
357
 
358
  block_css = """
@@ -404,7 +407,7 @@ def build_demo(embed_mode):
404
  ],
405
  [
406
  f"{cur_dir}/examples/CXR22_IM-0810-1001.png",
407
- "nCan you identify any signs of pulmonary fibrosis?",
408
  ],
409
  ],
410
  inputs=[imagebox, textbox],
 
339
  title_markdown = """
340
  # CXR-LLaVA: Chest X-Ray Large Language and Vision Assistant - Online Demo
341
  🥰 This project is based on the codebase of [LLaVA](https://llava-vl.github.io/) by Haotian Liu et al. Many thanks to them! As CXR-LLaVA is temporarily not released as a paper, please [cite their work](https://github.com/haotian-liu/LLaVA/tree/main#citation) if you are further developing on CXR-LLaVA.
342
+ 😮 Please Check [CXR-LLaVA GitHub Repository](https://github.com/TommyIX/CXR-LLaVA) for more info about CXR-LLaVA.
343
  """
344
 
345
  tos_markdown = """
 
353
 
354
  learn_more_markdown = """
355
  ### License
356
+ The service is a research preview intended for non-commercial use only, subject to the model [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA, [Terms of Use](https://openai.com/policies/terms-of-use) of the data generated by OpenAI, and [Privacy Practices](https://chrome.google.com/webstore/detail/sharegpt-share-your-chatg/daiacboceoaocpibfodeljbdfacokfjb) of ShareGPT.
357
+ The data of MIMIC Chest X-ray JPG (MIMIC-CXR-JPG) Database v2.0.0 is credited to the [MIT Laboratory for Computational Physiology](https://physionet.org/content/mimic-cxr-jpg/2.0.0/). And the data of Open-I is credited to the [Open-I](https://openi.nlm.nih.gov/faq.php). Please follow their license when evaluating the model.
358
+ Please [contact us](mailto:jinhong.wang@mbzuai.ac.ae) if you find any potential violation.
359
  """
360
 
361
  block_css = """
 
407
  ],
408
  [
409
  f"{cur_dir}/examples/CXR22_IM-0810-1001.png",
410
+ "Can you identify any signs of pulmonary fibrosis?",
411
  ],
412
  ],
413
  inputs=[imagebox, textbox],