Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -397,13 +397,13 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
397 |
|
398 |
with gr.Row():
|
399 |
with gr.Column():
|
400 |
-
input_image = gr.Image(type="numpy", label='Input Occlusion Image',
|
401 |
with gr.Row():
|
402 |
x_input = gr.Number(label="X Coordinate", value=0)
|
403 |
y_input = gr.Number(label="Y Coordinate", value=0)
|
404 |
point_type = gr.Radio(["vis", "occ"], label="Point Prompt Type", value="vis")
|
405 |
with gr.Row():
|
406 |
-
see_button = gr.Button("
|
407 |
add_button = gr.Button("Add Point")
|
408 |
with gr.Row():
|
409 |
# ๆฐๅขๆ้ฎ๏ผClearใๅๅซๆฅ็ visible/occlusion
|
|
|
397 |
|
398 |
with gr.Row():
|
399 |
with gr.Column():
|
400 |
+
input_image = gr.Image(type="numpy", label='Input Occlusion Image', sources="upload", height=300)
|
401 |
with gr.Row():
|
402 |
x_input = gr.Number(label="X Coordinate", value=0)
|
403 |
y_input = gr.Number(label="Y Coordinate", value=0)
|
404 |
point_type = gr.Radio(["vis", "occ"], label="Point Prompt Type", value="vis")
|
405 |
with gr.Row():
|
406 |
+
see_button = gr.Button("Render Point")
|
407 |
add_button = gr.Button("Add Point")
|
408 |
with gr.Row():
|
409 |
# ๆฐๅขๆ้ฎ๏ผClearใๅๅซๆฅ็ visible/occlusion
|