blanchon commited on
Commit
73d42f6
·
1 Parent(s): 1447103
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -56,7 +56,7 @@ def infer(
56
  seed: int = 42,
57
  randomize_seed: bool = False,
58
  guidance_scale: float = 3.5,
59
- num_inference_steps: int = 28,
60
  progress: gr.Progress = gr.Progress(track_tqdm=True), # noqa: ARG001, B008
61
  ):
62
  _room_image = room_image["background"]
@@ -217,7 +217,8 @@ with gr.Blocks(css=css) as demo:
217
  minimum=1,
218
  maximum=30,
219
  step=0.5,
220
- value=50,
 
221
  )
222
 
223
  num_inference_steps = gr.Slider(
@@ -225,7 +226,7 @@ with gr.Blocks(css=css) as demo:
225
  minimum=1,
226
  maximum=50,
227
  step=1,
228
- value=28,
229
  )
230
 
231
  gr.on(
 
56
  seed: int = 42,
57
  randomize_seed: bool = False,
58
  guidance_scale: float = 3.5,
59
+ num_inference_steps: int = 20,
60
  progress: gr.Progress = gr.Progress(track_tqdm=True), # noqa: ARG001, B008
61
  ):
62
  _room_image = room_image["background"]
 
217
  minimum=1,
218
  maximum=30,
219
  step=0.5,
220
+ # value=50,
221
+ value=3.5,
222
  )
223
 
224
  num_inference_steps = gr.Slider(
 
226
  minimum=1,
227
  maximum=50,
228
  step=1,
229
+ value=20,
230
  )
231
 
232
  gr.on(