theseanlavery commited on
Commit
87d9825
·
1 Parent(s): b7b00e2
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -278,23 +278,23 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
278
  """)
279
 
280
  with gr.Accordion(label="Generation Settings", open=False):
281
- seed = gr.Slider(0, MAX_SEED, label="Seed", value=0, step=1)
282
- randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
283
- gr.Markdown("Stage 1: Sparse Structure Generation")
284
  with gr.Row():
285
- ss_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=7.5, step=0.1)
286
- ss_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
287
- gr.Markdown("Stage 2: Structured Latent Generation")
288
  with gr.Row():
289
- slat_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=3.0, step=0.1)
290
- slat_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
291
- multiimage_algo = gr.Radio(["stochastic", "multidiffusion"], label="Multi-image Algorithm", value="stochastic")
292
 
293
  generate_btn = gr.Button("Generate")
294
 
295
- with gr.Accordion(label="GLB Extraction Settings", open=False):
296
- mesh_simplify = gr.Slider(0.9, 0.98, label="Simplify", value=0.95, step=0.01)
297
- texture_size = gr.Slider(512, 2048, label="Texture Size", value=1024, step=512)
298
 
299
  with gr.Row():
300
  extract_glb_btn = gr.Button("Extract GLB", interactive=False)
 
278
  """)
279
 
280
  with gr.Accordion(label="Generation Settings", open=False):
281
+ seed = gr.Slider(0, MAX_SEED, label="Random Seed - Controls the randomness of generation", value=0, step=1)
282
+ randomize_seed = gr.Checkbox(label="Randomize Seed - Generate different results each time", value=True)
283
+ gr.Markdown("Stage 1: Sparse Structure Generation - Initial 3D structure creation")
284
  with gr.Row():
285
+ ss_guidance_strength = gr.Slider(0.0, 10.0, label="Structure Guidance Strength - Higher values make output more similar to input (7.5 recommended)", value=7.5, step=0.1)
286
+ ss_sampling_steps = gr.Slider(1, 50, label="Structure Sampling Steps - More steps give better quality but slower (12 recommended)", value=12, step=1)
287
+ gr.Markdown("Stage 2: Structured Latent Generation - Refinement and detail addition")
288
  with gr.Row():
289
+ slat_guidance_strength = gr.Slider(0.0, 10.0, label="Detail Guidance Strength - Higher values preserve more input details (3.0 recommended)", value=3.0, step=0.1)
290
+ slat_sampling_steps = gr.Slider(1, 50, label="Detail Sampling Steps - More steps give better details but slower (12 recommended)", value=12, step=1)
291
+ multiimage_algo = gr.Radio(["stochastic", "multidiffusion"], label="Multi-image Algorithm - Stochastic is faster, Multidiffusion may be more accurate", value="stochastic")
292
 
293
  generate_btn = gr.Button("Generate")
294
 
295
+ with gr.Accordion(label="GLB Extraction Settings - Control the final 3D model output", open=False):
296
+ mesh_simplify = gr.Slider(0.9, 0.98, label="Mesh Simplification - Higher values reduce file size but may lose detail (0.95 recommended)", value=0.95, step=0.01)
297
+ texture_size = gr.Slider(512, 2048, label="Texture Resolution - Higher values give sharper textures but larger files", value=1024, step=512)
298
 
299
  with gr.Row():
300
  extract_glb_btn = gr.Button("Extract GLB", interactive=False)