Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -191,7 +191,7 @@ with gr.Blocks() as demo:
|
|
| 191 |
elem_id="content_image",
|
| 192 |
visible=False # Hidden since we generate the image from text
|
| 193 |
)
|
| 194 |
-
processed_image = gr.Image(label="Processed Image", interactive=False)
|
| 195 |
with gr.Row():
|
| 196 |
with gr.Group():
|
| 197 |
do_remove_background = gr.Checkbox(
|
|
@@ -241,8 +241,8 @@ with gr.Blocks() as demo:
|
|
| 241 |
submit.click(fn=check_input_image, inputs=[text_prompt]).success(
|
| 242 |
fn=run_example,
|
| 243 |
inputs=[text_prompt, do_remove_background, foreground_ratio, mc_resolution],
|
| 244 |
-
|
| 245 |
-
outputs=[output_model_obj, output_model_glb],
|
| 246 |
)
|
| 247 |
|
| 248 |
demo.queue(max_size=10)
|
|
|
|
| 191 |
elem_id="content_image",
|
| 192 |
visible=False # Hidden since we generate the image from text
|
| 193 |
)
|
| 194 |
+
processed_image = gr.Image(label="Processed Image", interactive=False, visible=False)
|
| 195 |
with gr.Row():
|
| 196 |
with gr.Group():
|
| 197 |
do_remove_background = gr.Checkbox(
|
|
|
|
| 241 |
submit.click(fn=check_input_image, inputs=[text_prompt]).success(
|
| 242 |
fn=run_example,
|
| 243 |
inputs=[text_prompt, do_remove_background, foreground_ratio, mc_resolution],
|
| 244 |
+
outputs=[processed_image, output_model_obj, output_model_glb],
|
| 245 |
+
# outputs=[output_model_obj, output_model_glb],
|
| 246 |
)
|
| 247 |
|
| 248 |
demo.queue(max_size=10)
|