Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def respond(
|
|
57 |
demo = gr.Interface(
|
58 |
fn=respond,
|
59 |
inputs=[
|
60 |
-
gr.
|
61 |
-
gr.
|
62 |
],
|
63 |
outputs=gr.outputs.Textbox(label="Response", placeholder="Model response will appear here..."),
|
64 |
title="LLAVA Model - Medical Image and Question",
|
|
|
57 |
demo = gr.Interface(
|
58 |
fn=respond,
|
59 |
inputs=[
|
60 |
+
gr.Textbox(label="Message"),
|
61 |
+
gr.Image(label="Upload Medical Image", type="pil")
|
62 |
],
|
63 |
outputs=gr.outputs.Textbox(label="Response", placeholder="Model response will appear here..."),
|
64 |
title="LLAVA Model - Medical Image and Question",
|