wujunqiang commited on
Commit
0d96fc2
1 Parent(s): 1d1d827

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -227,14 +227,14 @@ with gr.Blocks(css=css) as Character:
227
  height = gr.Slider(
228
  label="Height",
229
  minimum=0,
230
- maximum=1344,
231
  step=64,
232
  value=1024,
233
  )
234
  width = gr.Slider(
235
  label="Width",
236
  minimum=0,
237
- maximum=1344,
238
  step=64,
239
  value=1024,
240
  )
@@ -243,14 +243,14 @@ with gr.Blocks(css=css) as Character:
243
  with gr.Row():
244
  face_scale = gr.Slider(
245
  label="Face_scale",
246
- minimum=0.0,
247
  maximum=1.0,
248
  step=0.05,
249
  value=0.8,
250
  )
251
  ref_scale = gr.Slider(
252
  label="Ref_scale",
253
- minimum=0.0,
254
  maximum=1.0,
255
  step=0.05,
256
  value=0.8,
 
227
  height = gr.Slider(
228
  label="Height",
229
  minimum=0,
230
+ maximum=1024,
231
  step=64,
232
  value=1024,
233
  )
234
  width = gr.Slider(
235
  label="Width",
236
  minimum=0,
237
+ maximum=1024,
238
  step=64,
239
  value=1024,
240
  )
 
243
  with gr.Row():
244
  face_scale = gr.Slider(
245
  label="Face_scale",
246
+ minimum=0.3,
247
  maximum=1.0,
248
  step=0.05,
249
  value=0.8,
250
  )
251
  ref_scale = gr.Slider(
252
  label="Ref_scale",
253
+ minimum=0.3,
254
  maximum=1.0,
255
  step=0.05,
256
  value=0.8,