Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
f89e294
1
Parent(s):
531ccc1
Display the model from the front instead of the back
Browse files
gradio_app/gradio_3dgen.py
CHANGED
@@ -60,7 +60,7 @@ def create_ui(concurrency_id="wkl"):
|
|
60 |
|
61 |
with gr.Column(scale=1):
|
62 |
# export mesh display
|
63 |
-
output_mesh = gr.Model3D(value=None, label="Mesh Model", show_label=True, height=320)
|
64 |
output_video = gr.Video(label="Preview", show_label=True, show_share_button=True, height=320, visible=False)
|
65 |
|
66 |
input_processing = gr.Checkbox(
|
@@ -73,7 +73,7 @@ def create_ui(concurrency_id="wkl"):
|
|
73 |
init_type = gr.Dropdown(choices=["std", "thin"], label="Mesh Initialization", value="std", visible=False)
|
74 |
setable_seed = gr.Slider(-1, 1000000000, -1, step=1, visible=True, label="Seed")
|
75 |
render_video = gr.Checkbox(value=False, visible=False, label="generate video")
|
76 |
-
fullrunv2_btn = gr.Button('Generate 3D', interactive=True)
|
77 |
|
78 |
fullrunv2_btn.click(
|
79 |
fn = generate3dv2,
|
|
|
60 |
|
61 |
with gr.Column(scale=1):
|
62 |
# export mesh display
|
63 |
+
output_mesh = gr.Model3D(value=None, label="Mesh Model", show_label=True, height=320, camera_position=(180, 0, 0))
|
64 |
output_video = gr.Video(label="Preview", show_label=True, show_share_button=True, height=320, visible=False)
|
65 |
|
66 |
input_processing = gr.Checkbox(
|
|
|
73 |
init_type = gr.Dropdown(choices=["std", "thin"], label="Mesh Initialization", value="std", visible=False)
|
74 |
setable_seed = gr.Slider(-1, 1000000000, -1, step=1, visible=True, label="Seed")
|
75 |
render_video = gr.Checkbox(value=False, visible=False, label="generate video")
|
76 |
+
fullrunv2_btn = gr.Button('Generate 3D', variant = "primary", interactive=True)
|
77 |
|
78 |
fullrunv2_btn.click(
|
79 |
fn = generate3dv2,
|