fffiloni commited on
Commit
de71836
·
verified ·
1 Parent(s): 45d22e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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("SUbmit", scale=1)
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