Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,10 +47,10 @@ with gr.Blocks() as demo:
|
|
| 47 |
gr.Markdown("# Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos")
|
| 48 |
with gr.Row():
|
| 49 |
with gr.Column():
|
| 50 |
-
image_input = gr.Image(label="Image IN")
|
| 51 |
with gr.Row():
|
| 52 |
-
instruction = gr.Textbox(label="Instruction")
|
| 53 |
-
submit_btn = gr.Button("
|
| 54 |
with gr.Column():
|
| 55 |
output_res = gr.Textbox(label="Response")
|
| 56 |
|
|
|
|
| 47 |
gr.Markdown("# Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos")
|
| 48 |
with gr.Row():
|
| 49 |
with gr.Column():
|
| 50 |
+
image_input = gr.Image(label="Image IN", type="filepath")
|
| 51 |
with gr.Row():
|
| 52 |
+
instruction = gr.Textbox(label="Instruction", scale=4)
|
| 53 |
+
submit_btn = gr.Button("Submit", scale=1)
|
| 54 |
with gr.Column():
|
| 55 |
output_res = gr.Textbox(label="Response")
|
| 56 |
|