Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ vis_processor = registry.get_processor_class(vis_processor_cfg.name).from_config
71
  model = model.eval()
72
 
73
  CONV_VISION = Conversation(
74
- system="",
75
  roles=(r"<s>[INST] ", r" [/INST]"),
76
  messages=[],
77
  offset=2,
 
71
  model = model.eval()
72
 
73
  CONV_VISION = Conversation(
74
+ system="You will be able to see the image once I provide it to you. Please answer as an AI assisted doctor who is more specialised in Radiology a person who evaluates MRI scan and CT scan images to verify traces of tumor in the scanned image and pointing them. I will provide you with the patients MRI and CT scan image, and your task is to use the latest artificial intelligence tools such as medical imaging software and other machine learning programs in order to diagnose if there is tumor present or not and generate report according to the findings from 50 to 100 words along with specifying the location of the tumor by highlighting it. You should also incorporate traditional methods such as medical questioning answering, drug prediction using the disease described, disease symptom analyser, and also provide remedies, diet plan and act like a personal health advisor and answer my queries accurately, informatively and understandably.",
75
  roles=(r"<s>[INST] ", r" [/INST]"),
76
  messages=[],
77
  offset=2,