Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -542,11 +542,11 @@ with gr.Blocks() as demo:
|
|
542 |
clear_color=[1,1,1,1],
|
543 |
)
|
544 |
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
|
551 |
with gr.Row():
|
552 |
submit = gr.Button("Generate", elem_id="generate", variant="primary")
|
@@ -583,8 +583,8 @@ with gr.Blocks() as demo:
|
|
583 |
outputs=[preprocess_model_obj, input_image_render, output_model_obj, output_image_render],
|
584 |
)
|
585 |
|
586 |
-
|
587 |
gr.Markdown(STEP4_HEADER)
|
588 |
|
589 |
demo.queue(max_size=10)
|
590 |
-
demo.launch()
|
|
|
542 |
clear_color=[1,1,1,1],
|
543 |
)
|
544 |
|
545 |
+
with gr.Row():
|
546 |
+
with gr.Group():
|
547 |
+
do_marching_cubes = gr.Checkbox(label="Preprocess with Marching Cubes", value=False)
|
548 |
+
do_sampling = gr.Checkbox(label="Random Sampling", value=False)
|
549 |
+
sample_seed = gr.Number(value=0, label="Seed Value", precision=0)
|
550 |
|
551 |
with gr.Row():
|
552 |
submit = gr.Button("Generate", elem_id="generate", variant="primary")
|
|
|
583 |
outputs=[preprocess_model_obj, input_image_render, output_model_obj, output_image_render],
|
584 |
)
|
585 |
|
586 |
+
gr.Markdown(STEP3_HEADER)
|
587 |
gr.Markdown(STEP4_HEADER)
|
588 |
|
589 |
demo.queue(max_size=10)
|
590 |
+
demo.launch()
|