Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -296,12 +296,12 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
| 296 |
inputs=[image_prompt, seed, ss_guidance_strength, ss_sampling_steps, slat_guidance_strength, slat_sampling_steps],
|
| 297 |
outputs=[output_buf, video_output],
|
| 298 |
).then(
|
| 299 |
-
lambda:
|
| 300 |
outputs=[extract_glb_btn],
|
| 301 |
)
|
| 302 |
|
| 303 |
video_output.clear(
|
| 304 |
-
lambda:
|
| 305 |
outputs=[extract_glb_btn],
|
| 306 |
)
|
| 307 |
|
|
|
|
| 296 |
inputs=[image_prompt, seed, ss_guidance_strength, ss_sampling_steps, slat_guidance_strength, slat_sampling_steps],
|
| 297 |
outputs=[output_buf, video_output],
|
| 298 |
).then(
|
| 299 |
+
lambda: gr.Button(interactive=True),
|
| 300 |
outputs=[extract_glb_btn],
|
| 301 |
)
|
| 302 |
|
| 303 |
video_output.clear(
|
| 304 |
+
lambda: gr.Button(interactive=False),
|
| 305 |
outputs=[extract_glb_btn],
|
| 306 |
)
|
| 307 |
|