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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -17
app.py CHANGED
@@ -240,24 +240,26 @@ with gr.Blocks(css=css) as Character:
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(
 
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
+ interactive=False,
251
+ )
252
+ ref_scale = gr.Slider(
253
+ label="Ref_scale",
254
+ minimum=0.3,
255
+ maximum=1.0,
256
+ step=0.05,
257
+ value=0.8,
258
+ interactive=False,
259
+ )
260
 
261
+ # face_scale = 0.8
262
+ # ref_scale = 0.8
263
 
264
  with gr.Row():
265
  seed = gr.Slider(