Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -156,7 +156,6 @@ with gr.Blocks() as demo:
|
|
| 156 |
with gr.Row():
|
| 157 |
# image_prompts = ImagePrompter(label="Input Image", type="pil")
|
| 158 |
image_prompts = gr.Image(label="Example Image", type="pil")
|
| 159 |
-
mesh = gr.Model3D(label="Input Coarse Model",camera_position=(90,90,3))
|
| 160 |
|
| 161 |
with gr.Accordion("Generation Settings", open=False):
|
| 162 |
seed = gr.Slider(
|
|
@@ -184,6 +183,8 @@ with gr.Blocks() as demo:
|
|
| 184 |
gen_button = gr.Button("Generate details", variant="primary")
|
| 185 |
|
| 186 |
with gr.Column():
|
|
|
|
|
|
|
| 187 |
# model_output = LitModel3D(label="Generated GLB", exposure=1.0, height=500,camera_position=(90,90,3))
|
| 188 |
model_output = gr.Model3D(label="Generated GLB", camera_position=(90,90,3))
|
| 189 |
download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
|
|
|
| 156 |
with gr.Row():
|
| 157 |
# image_prompts = ImagePrompter(label="Input Image", type="pil")
|
| 158 |
image_prompts = gr.Image(label="Example Image", type="pil")
|
|
|
|
| 159 |
|
| 160 |
with gr.Accordion("Generation Settings", open=False):
|
| 161 |
seed = gr.Slider(
|
|
|
|
| 183 |
gen_button = gr.Button("Generate details", variant="primary")
|
| 184 |
|
| 185 |
with gr.Column():
|
| 186 |
+
mesh = gr.Model3D(label="Input Coarse Model",camera_position=(90,90,3))
|
| 187 |
+
|
| 188 |
# model_output = LitModel3D(label="Generated GLB", exposure=1.0, height=500,camera_position=(90,90,3))
|
| 189 |
model_output = gr.Model3D(label="Generated GLB", camera_position=(90,90,3))
|
| 190 |
download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|