Spaces:
Paused
Paused
del examples
Browse files
app.py
CHANGED
@@ -421,18 +421,6 @@ with gr.Blocks(title="Nestlé | Proof of Concept") as demo:
|
|
421 |
model_output = gr.Model3D(label="Generated GLB", interactive=False)
|
422 |
textured_model_output = gr.Model3D(label="Textured GLB", interactive=False)
|
423 |
|
424 |
-
with gr.Row():
|
425 |
-
examples = gr.Examples(
|
426 |
-
examples=[
|
427 |
-
f"{TRIPOSG_CODE_DIR}/assets/example_data/{image}"
|
428 |
-
for image in os.listdir(f"{TRIPOSG_CODE_DIR}/assets/example_data")
|
429 |
-
],
|
430 |
-
fn=run_full,
|
431 |
-
inputs=[image_prompts],
|
432 |
-
outputs=[seg_image, model_output, textured_model_output],
|
433 |
-
cache_examples=True,
|
434 |
-
)
|
435 |
-
|
436 |
gen_button.click(
|
437 |
run_segmentation,
|
438 |
inputs=[image_prompts],
|
|
|
421 |
model_output = gr.Model3D(label="Generated GLB", interactive=False)
|
422 |
textured_model_output = gr.Model3D(label="Textured GLB", interactive=False)
|
423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
gen_button.click(
|
425 |
run_segmentation,
|
426 |
inputs=[image_prompts],
|