Yang2001 commited on
Commit
3469b42
·
verified ·
1 Parent(s): 0e5c0fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,7 +51,7 @@ MODES = [
51
  ]
52
  STEPS = 8
53
  DEFAULT_MODE = 3
54
- DEFAULT_STEP = 3
55
 
56
  # Cascade parameters
57
  CASCADE_LR_RESOLUTION = 512
@@ -490,7 +490,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
490
  preview_output = gr.HTML(empty_html, label="3D Asset Preview", show_label=True, container=True)
491
  extract_btn = gr.Button("Extract GLB")
492
  with gr.Step("Extract", id=1):
493
- glb_output = gr.Model3D(label="Extracted GLB", height=724, show_label=True, display_mode="solid", clear_color=(0.25, 0.25, 0.25, 1.0))
494
  download_btn = gr.DownloadButton(label="Download GLB")
495
 
496
  with gr.Column(scale=1, min_width=172):
 
51
  ]
52
  STEPS = 8
53
  DEFAULT_MODE = 3
54
+ DEFAULT_STEP = 0
55
 
56
  # Cascade parameters
57
  CASCADE_LR_RESOLUTION = 512
 
490
  preview_output = gr.HTML(empty_html, label="3D Asset Preview", show_label=True, container=True)
491
  extract_btn = gr.Button("Extract GLB")
492
  with gr.Step("Extract", id=1):
493
+ glb_output = gr.Model3D(label="Extracted GLB", height=724, show_label=True, display_mode="solid", clear_color=(0.25, 0.25, 0.25, 1.0), camera_position=(90, 0, None))
494
  download_btn = gr.DownloadButton(label="Download GLB")
495
 
496
  with gr.Column(scale=1, min_width=172):