Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ with gr.Blocks() as demo:
|
|
| 146 |
examples=[
|
| 147 |
os.path.join("examples", img_name) for img_name in sorted(os.listdir("examples"))
|
| 148 |
],
|
| 149 |
-
inputs=[
|
| 150 |
outputs=[processed_image, output_model_obj, output_model_glb],
|
| 151 |
cache_examples=True,
|
| 152 |
fn=partial(run_example, do_remove_background=True, foreground_ratio=0.85, mc_resolution=256),
|
|
|
|
| 146 |
examples=[
|
| 147 |
os.path.join("examples", img_name) for img_name in sorted(os.listdir("examples"))
|
| 148 |
],
|
| 149 |
+
inputs=[input_image],
|
| 150 |
outputs=[processed_image, output_model_obj, output_model_glb],
|
| 151 |
cache_examples=True,
|
| 152 |
fn=partial(run_example, do_remove_background=True, foreground_ratio=0.85, mc_resolution=256),
|