Spaces:
Sleeping
Sleeping
Georg
commited on
Commit
·
f5d32da
1
Parent(s):
4183cba
mask gen
Browse files
app.py
CHANGED
|
@@ -501,13 +501,13 @@ with gr.Blocks(title="FoundationPose Inference", theme=gr.themes.Soft()) as demo
|
|
| 501 |
est_button = gr.Button("Estimate Pose", variant="primary")
|
| 502 |
|
| 503 |
with gr.Column():
|
|
|
|
| 504 |
est_output = gr.Textbox(
|
| 505 |
label="Pose Estimation Result",
|
| 506 |
lines=15,
|
| 507 |
interactive=False
|
| 508 |
)
|
| 509 |
est_viz = gr.Image(label="Query Image")
|
| 510 |
-
est_mask = gr.Image(label="Auto-Generated Mask (green overlay)")
|
| 511 |
|
| 512 |
est_button.click(
|
| 513 |
fn=gradio_estimate,
|
|
|
|
| 501 |
est_button = gr.Button("Estimate Pose", variant="primary")
|
| 502 |
|
| 503 |
with gr.Column():
|
| 504 |
+
est_mask = gr.Image(label="Auto-Generated Mask (green overlay)")
|
| 505 |
est_output = gr.Textbox(
|
| 506 |
label="Pose Estimation Result",
|
| 507 |
lines=15,
|
| 508 |
interactive=False
|
| 509 |
)
|
| 510 |
est_viz = gr.Image(label="Query Image")
|
|
|
|
| 511 |
|
| 512 |
est_button.click(
|
| 513 |
fn=gradio_estimate,
|