LiamKhoaLe commited on
Commit
f6c501b
·
1 Parent(s): da736bd

Upd syntax

Browse files
Files changed (1) hide show
  1. vlm.py +1 -1
vlm.py CHANGED
@@ -37,7 +37,7 @@ def process_medical_image(base64_image: str, prompt: str = None, lang: str = "EN
37
  logger.info(f"[VLM] Sending prompt: {prompt}")
38
  result = client.predict(
39
  message={"text": prompt, "files": [handle_file(image_path)]},
40
- param_2 = "You analyze medical images and report abnormalities, diseases with clear diagnostic insight."
41
  param_3=2048,
42
  api_name="/chat"
43
  )
 
37
  logger.info(f"[VLM] Sending prompt: {prompt}")
38
  result = client.predict(
39
  message={"text": prompt, "files": [handle_file(image_path)]},
40
+ param_2 = "You analyze medical images and report abnormalities, diseases with clear diagnostic insight.",
41
  param_3=2048,
42
  api_name="/chat"
43
  )