leilaaaaa commited on
Commit
fb50c2f
·
verified ·
1 Parent(s): 40b3e0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -66,10 +66,10 @@ try:
66
  demo = gr.Interface(
67
  fn=respond,
68
  inputs=[
69
- gr.inputs.Textbox(label="Message"),
70
- gr.inputs.Image(label="Upload Medical Image", type="pil")
71
  ],
72
- outputs=gr.outputs.Textbox(label="Response", placeholder="Model response will appear here..."),
73
  title="LLAVA Model - Medical Image and Question",
74
  description="Upload a medical image and ask a specific question about the image for a medical description.",
75
  additional_inputs=[
 
66
  demo = gr.Interface(
67
  fn=respond,
68
  inputs=[
69
+ gr.Textbox(label="Message"),
70
+ gr.Image(label="Upload Medical Image", type="pil")
71
  ],
72
+ outputs=gr.Textbox(label="Response", placeholder="Model response will appear here..."),
73
  title="LLAVA Model - Medical Image and Question",
74
  description="Upload a medical image and ask a specific question about the image for a medical description.",
75
  additional_inputs=[