Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -257,7 +257,6 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
257 |
with gr.Column():
|
258 |
gr.Markdown("# Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos")
|
259 |
|
260 |
-
|
261 |
with gr.Tab("Single Image"):
|
262 |
with gr.Row():
|
263 |
with gr.Column():
|
@@ -296,8 +295,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
296 |
with gr.Tab("Webcam"):
|
297 |
with gr.Row():
|
298 |
with gr.Column():
|
299 |
-
webcam_input = gr.
|
300 |
-
|
301 |
with gr.Row():
|
302 |
webcam_instruction = gr.Textbox(
|
303 |
label="Instruction",
|
|
|
257 |
with gr.Column():
|
258 |
gr.Markdown("# Sa2VA: Marrying SAM2 with LLaVA for Dense Grounded Understanding of Images and Videos")
|
259 |
|
|
|
260 |
with gr.Tab("Single Image"):
|
261 |
with gr.Row():
|
262 |
with gr.Column():
|
|
|
295 |
with gr.Tab("Webcam"):
|
296 |
with gr.Row():
|
297 |
with gr.Column():
|
298 |
+
webcam_input = gr.Image(source="webcam", streaming=True, label="Webcam Input")
|
|
|
299 |
with gr.Row():
|
300 |
webcam_instruction = gr.Textbox(
|
301 |
label="Instruction",
|