Update app.py
Browse files
app.py
CHANGED
@@ -66,10 +66,10 @@ try:
|
|
66 |
demo = gr.Interface(
|
67 |
fn=respond,
|
68 |
inputs=[
|
69 |
-
gr.
|
70 |
-
gr.
|
71 |
],
|
72 |
-
outputs=gr.
|
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=[
|