mgbam commited on
Commit
97cc0b3
·
verified ·
1 Parent(s): 398c674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -51,11 +51,13 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"), cs
51
  label="Describe Symptoms or Ask a Medical Question",
52
  placeholder="e.g., 'I have a sharp pain behind my right eye and I'm sensitive to light' or 'What are the latest treatments for psoriatic arthritis?'"
53
  )
 
 
54
  image_input = gr.Image(
55
  type="pil",
56
- label="Optional: Upload a Relevant Image",
57
- info="For visual symptoms like a skin rash or swelling. The AI will describe what it sees objectively."
58
  )
 
59
  with gr.Column(scale=1):
60
  synthesis_submit_btn = gr.Button("Synthesize Information", variant="primary", scale=1)
61
 
 
51
  label="Describe Symptoms or Ask a Medical Question",
52
  placeholder="e.g., 'I have a sharp pain behind my right eye and I'm sensitive to light' or 'What are the latest treatments for psoriatic arthritis?'"
53
  )
54
+ # ==============================================================
55
+ # CORRECTED LINE: The incompatible 'info' argument has been removed.
56
  image_input = gr.Image(
57
  type="pil",
58
+ label="Optional: Upload a Relevant Image (e.g., skin rash)"
 
59
  )
60
+ # ==============================================================
61
  with gr.Column(scale=1):
62
  synthesis_submit_btn = gr.Button("Synthesize Information", variant="primary", scale=1)
63