DiZH797 commited on
Commit
a54485c
·
verified ·
1 Parent(s): 5afedcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks(css=css) as demo:
159
  lora_scale_slider = gr.Slider(
160
  label="LoRA Scale (Only for LoRA model)",
161
  minimum=0.0,
162
- maximum=1.0,
163
  step=0.1,
164
  value=0.7,
165
  visible=False, # Initially hidden
@@ -202,7 +202,7 @@ with gr.Blocks(css=css) as demo:
202
  minimum=256,
203
  maximum=MAX_IMAGE_SIZE,
204
  step=32,
205
- value=1024, # Replace with defaults that work for your model
206
  )
207
 
208
  height = gr.Slider(
@@ -210,7 +210,7 @@ with gr.Blocks(css=css) as demo:
210
  minimum=256,
211
  maximum=MAX_IMAGE_SIZE,
212
  step=32,
213
- value=1024, # Replace with defaults that work for your model
214
  )
215
 
216
  with gr.Row():
 
159
  lora_scale_slider = gr.Slider(
160
  label="LoRA Scale (Only for LoRA model)",
161
  minimum=0.0,
162
+ maximum=2.0,
163
  step=0.1,
164
  value=0.7,
165
  visible=False, # Initially hidden
 
202
  minimum=256,
203
  maximum=MAX_IMAGE_SIZE,
204
  step=32,
205
+ value=512, # Replace with defaults that work for your model
206
  )
207
 
208
  height = gr.Slider(
 
210
  minimum=256,
211
  maximum=MAX_IMAGE_SIZE,
212
  step=32,
213
+ value=512, # Replace with defaults that work for your model
214
  )
215
 
216
  with gr.Row():