wujunqiang commited on
Commit
6ac6fd8
1 Parent(s): e66b638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -18
app.py CHANGED
@@ -226,36 +226,38 @@ with gr.Blocks(css=css) as Character:
226
  with gr.Row():
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
  )
241
 
242
 
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,
257
- )
258
-
 
 
259
 
260
  with gr.Row():
261
  seed = gr.Slider(
 
226
  with gr.Row():
227
  height = gr.Slider(
228
  label="Height",
229
+ minimum=768,
230
  maximum=1024,
231
  step=64,
232
  value=1024,
233
  )
234
  width = gr.Slider(
235
  label="Width",
236
+ minimum=768,
237
  maximum=1024,
238
  step=64,
239
  value=1024,
240
  )
241
 
242
 
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,
257
+ # )
258
+
259
+ face_scale = 0.8
260
+ ref_scale = 0.8
261
 
262
  with gr.Row():
263
  seed = gr.Slider(