hysts HF staff commited on
Commit
2d40e1e
1 Parent(s): cb8e8f2

Set the minimum number of steps to 2

Browse files
Files changed (2) hide show
  1. app_image_to_3d.py +1 -1
  2. app_text_to_3d.py +1 -1
app_image_to_3d.py CHANGED
@@ -46,7 +46,7 @@ def create_demo(model: Model) -> gr.Blocks:
46
  )
47
  num_inference_steps = gr.Slider(
48
  label="Number of inference steps",
49
- minimum=1,
50
  maximum=100,
51
  step=1,
52
  value=64,
 
46
  )
47
  num_inference_steps = gr.Slider(
48
  label="Number of inference steps",
49
+ minimum=2,
50
  maximum=100,
51
  step=1,
52
  value=64,
app_text_to_3d.py CHANGED
@@ -53,7 +53,7 @@ def create_demo(model: Model) -> gr.Blocks:
53
  )
54
  num_inference_steps = gr.Slider(
55
  label="Number of inference steps",
56
- minimum=1,
57
  maximum=100,
58
  step=1,
59
  value=64,
 
53
  )
54
  num_inference_steps = gr.Slider(
55
  label="Number of inference steps",
56
+ minimum=2,
57
  maximum=100,
58
  step=1,
59
  value=64,