Spaces:
Runtime error
Runtime error
Tobias Cornille
commited on
Commit
·
d42d2a5
1
Parent(s):
d40870e
Fix output
Browse files
app.py
CHANGED
@@ -463,7 +463,7 @@ if __name__ == "__main__":
|
|
463 |
)
|
464 |
|
465 |
with gr.Column():
|
466 |
-
gr.Plot()
|
467 |
|
468 |
run_button.click(
|
469 |
fn=generate_panoptic_mask,
|
@@ -477,7 +477,7 @@ if __name__ == "__main__":
|
|
477 |
shrink_kernel_size,
|
478 |
num_samples_factor,
|
479 |
],
|
480 |
-
outputs=[
|
481 |
)
|
482 |
# task_type.change(fn=change_task_type, inputs=[task_type], outputs=[inpaint_prompt])
|
483 |
|
|
|
463 |
)
|
464 |
|
465 |
with gr.Column():
|
466 |
+
plot = gr.Plot()
|
467 |
|
468 |
run_button.click(
|
469 |
fn=generate_panoptic_mask,
|
|
|
477 |
shrink_kernel_size,
|
478 |
num_samples_factor,
|
479 |
],
|
480 |
+
outputs=[plot],
|
481 |
)
|
482 |
# task_type.change(fn=change_task_type, inputs=[task_type], outputs=[inpaint_prompt])
|
483 |
|