Spaces:
Running
on
Zero
Running
on
Zero
change layout
Browse files
app.py
CHANGED
@@ -113,11 +113,12 @@ def streaming_object_detection(recording_id: str, img):
|
|
113 |
|
114 |
with gr.Blocks() as demo:
|
115 |
with gr.Row():
|
116 |
-
|
|
|
117 |
with gr.Column():
|
118 |
detect_objects = gr.Button("Detect objects")
|
119 |
|
120 |
-
with gr.
|
121 |
viewer = Rerun(
|
122 |
streaming=False,
|
123 |
panel_states={
|
|
|
113 |
|
114 |
with gr.Blocks() as demo:
|
115 |
with gr.Row():
|
116 |
+
with gr.Column():
|
117 |
+
img = gr.Image(interactive=True, label="Image")
|
118 |
with gr.Column():
|
119 |
detect_objects = gr.Button("Detect objects")
|
120 |
|
121 |
+
with gr.Column():
|
122 |
viewer = Rerun(
|
123 |
streaming=False,
|
124 |
panel_states={
|