junbiao.chen commited on
Commit
f6a7fe9
·
1 Parent(s): c68b852
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -211,7 +211,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
211
 
212
  with gr.Column():
213
  video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
214
- model_output = LitModel3D(label="Extracted GLB/Gaussian", exposure=10.0, height=300)
215
 
216
  with gr.Row():
217
  download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
@@ -241,14 +241,14 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
241
  outputs=[extract_glb_btn, extract_gs_btn],
242
  )
243
 
244
- extract_glb_btn.click(
245
- extract_glb,
246
- inputs=[output_buf, mesh_simplify, texture_size],
247
- outputs=[model_output, download_glb],
248
- ).then(
249
- lambda: gr.Button(interactive=True),
250
- outputs=[download_glb],
251
- )
252
 
253
  extract_gs_btn.click(
254
  extract_gaussian,
 
211
 
212
  with gr.Column():
213
  video_output = gr.Video(label="Generated 3D Asset", autoplay=True, loop=True, height=300)
214
+ # model_output = LitModel3D(label="Extracted GLB/Gaussian", exposure=10.0, height=300)
215
 
216
  with gr.Row():
217
  download_glb = gr.DownloadButton(label="Download GLB", interactive=False)
 
241
  outputs=[extract_glb_btn, extract_gs_btn],
242
  )
243
 
244
+ # extract_glb_btn.click(
245
+ # extract_glb,
246
+ # inputs=[output_buf, mesh_simplify, texture_size],
247
+ # outputs=[model_output, download_glb],
248
+ # ).then(
249
+ # lambda: gr.Button(interactive=True),
250
+ # outputs=[download_glb],
251
+ # )
252
 
253
  extract_gs_btn.click(
254
  extract_gaussian,