Spaces:
Running
on
Zero
Running
on
Zero
PUM4CH3N
commited on
Commit
·
653000f
1
Parent(s):
c17a234
app.py
CHANGED
|
@@ -214,7 +214,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
| 214 |
|
| 215 |
with gr.Column():
|
| 216 |
video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
|
| 217 |
-
|
| 218 |
|
| 219 |
# with gr.Row():
|
| 220 |
# download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
|
@@ -262,10 +262,10 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
|
|
| 262 |
# outputs=[download_gs],
|
| 263 |
# )
|
| 264 |
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
|
| 270 |
|
| 271 |
# Launch the Gradio app
|
|
|
|
| 214 |
|
| 215 |
with gr.Column():
|
| 216 |
video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
|
| 217 |
+
model_output = LitModel3D(label="Extracted GLB/Gaussian", exposure=10.0, height=300)
|
| 218 |
|
| 219 |
# with gr.Row():
|
| 220 |
# download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
|
|
|
|
| 262 |
# outputs=[download_gs],
|
| 263 |
# )
|
| 264 |
|
| 265 |
+
model_output.clear(
|
| 266 |
+
lambda: gr.Button(interactive=False),
|
| 267 |
+
outputs=[download_glb],
|
| 268 |
+
)
|
| 269 |
|
| 270 |
|
| 271 |
# Launch the Gradio app
|