ktrndy commited on
Commit
407939e
·
verified ·
1 Parent(s): 645b875

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(css=css, fill_height=True) as demo:
110
  guidance_scale = gr.Slider(
111
  label="Guidance scale",
112
  minimum=0.0,
113
- maximum=10.0,
114
  step=0.1,
115
  value=7.0, # Replace with defaults that work for your model
116
  )
@@ -119,14 +119,14 @@ with gr.Blocks(css=css, fill_height=True) as demo:
119
  label="LoRA scale",
120
  minimum=0.0,
121
  maximum=1.0,
122
- step=0.1,
123
  value=1.0,
124
  )
125
 
126
  num_inference_steps = gr.Slider(
127
  label="Number of inference steps",
128
  minimum=1,
129
- maximum=50,
130
  step=1,
131
  value=20, # Replace with defaults that work for your model
132
  )
 
110
  guidance_scale = gr.Slider(
111
  label="Guidance scale",
112
  minimum=0.0,
113
+ maximum=30.0,
114
  step=0.1,
115
  value=7.0, # Replace with defaults that work for your model
116
  )
 
119
  label="LoRA scale",
120
  minimum=0.0,
121
  maximum=1.0,
122
+ step=0.01,
123
  value=1.0,
124
  )
125
 
126
  num_inference_steps = gr.Slider(
127
  label="Number of inference steps",
128
  minimum=1,
129
+ maximum=100,
130
  step=1,
131
  value=20, # Replace with defaults that work for your model
132
  )