Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,7 +235,7 @@ with block:
|
|
| 235 |
# multi-view results
|
| 236 |
output_image = gr.Image(interactive=False, show_label=False)
|
| 237 |
|
| 238 |
-
button_gen.click(process, inputs=[input_image, input_text, input_neg_text, input_elevation, input_num_steps, input_seed], outputs=[output_image, output_video
|
| 239 |
|
| 240 |
gr.Examples(
|
| 241 |
examples=[
|
|
@@ -247,7 +247,7 @@ with block:
|
|
| 247 |
"data_test/gso_rabbit.jpg",
|
| 248 |
],
|
| 249 |
inputs=[input_image],
|
| 250 |
-
outputs=[output_image, output_video
|
| 251 |
fn=lambda x: process(input_image=x, prompt=''),
|
| 252 |
cache_examples=True,
|
| 253 |
label='Image-to-3D Exemplos'
|
|
@@ -264,7 +264,7 @@ with block:
|
|
| 264 |
|
| 265 |
],
|
| 266 |
inputs=[input_text],
|
| 267 |
-
outputs=[output_image, output_video
|
| 268 |
fn=lambda x: process(input_image=None, prompt=x),
|
| 269 |
cache_examples=True,
|
| 270 |
label='Text-to-3D Exemplos'
|
|
|
|
| 235 |
# multi-view results
|
| 236 |
output_image = gr.Image(interactive=False, show_label=False)
|
| 237 |
|
| 238 |
+
button_gen.click(process, inputs=[input_image, input_text, input_neg_text, input_elevation, input_num_steps, input_seed], outputs=[output_image, output_video])
|
| 239 |
|
| 240 |
gr.Examples(
|
| 241 |
examples=[
|
|
|
|
| 247 |
"data_test/gso_rabbit.jpg",
|
| 248 |
],
|
| 249 |
inputs=[input_image],
|
| 250 |
+
outputs=[output_image, output_video],
|
| 251 |
fn=lambda x: process(input_image=x, prompt=''),
|
| 252 |
cache_examples=True,
|
| 253 |
label='Image-to-3D Exemplos'
|
|
|
|
| 264 |
|
| 265 |
],
|
| 266 |
inputs=[input_text],
|
| 267 |
+
outputs=[output_image, output_video],
|
| 268 |
fn=lambda x: process(input_image=None, prompt=x),
|
| 269 |
cache_examples=True,
|
| 270 |
label='Text-to-3D Exemplos'
|