Louischong commited on
Commit
a2cc835
·
verified ·
1 Parent(s): 562f55d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -177,6 +177,7 @@ with gr.Blocks() as demo:
177
  * Upload an image and click "Generate" to create a 3D asset. If the image has alpha channel, it be used as the mask. Otherwise, we use `rembg` to remove the background.
178
  * If you find the generated 3D asset satisfactory, click "Extract GLB" to extract the GLB file and download it.
179
  * Note that the main difference between Trellis and our Trellis-OA is the orientation alignment. It is recommended to test multiple examples and observe the initial poses of the generated 3D models to validate this alignment.
 
180
  """)
181
 
182
  with gr.Row():
@@ -188,7 +189,7 @@ with gr.Blocks() as demo:
188
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
189
  gr.Markdown("Stage 1: Sparse Structure Generation")
190
  with gr.Row():
191
- ss_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=1.5, step=0.1)
192
  ss_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
193
  gr.Markdown("Stage 2: Structured Latent Generation")
194
  with gr.Row():
 
177
  * Upload an image and click "Generate" to create a 3D asset. If the image has alpha channel, it be used as the mask. Otherwise, we use `rembg` to remove the background.
178
  * If you find the generated 3D asset satisfactory, click "Extract GLB" to extract the GLB file and download it.
179
  * Note that the main difference between Trellis and our Trellis-OA is the orientation alignment. It is recommended to test multiple examples and observe the initial poses of the generated 3D models to validate this alignment.
180
+ * Guidance strength of sparse structure generation can influence the quality of the generated 3D models. If you find holes in the generated 3D models, please reduce the guidance strength. If you find the generated 3D model is not aligned with the input image, please increase the guidance strength.
181
  """)
182
 
183
  with gr.Row():
 
189
  randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
190
  gr.Markdown("Stage 1: Sparse Structure Generation")
191
  with gr.Row():
192
+ ss_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=3.0, step=0.1)
193
  ss_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
194
  gr.Markdown("Stage 2: Structured Latent Generation")
195
  with gr.Row():