Spaces:
doevent
/
Running on Zero

ohayonguy commited on
Commit
e311a6e
·
1 Parent(s): 7dcd008

improved interface

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -265,7 +265,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
265
  label="Number of Inference Steps", minimum=1, maximum=200, step=1, value=25, scale=1
266
  )
267
  upscale_factor = gr.Slider(
268
- label="Scale factor. Applicable only to non-aligned face images. This will upscale the entire image.",
269
  minimum=1,
270
  maximum=4,
271
  step=0.1,
@@ -273,14 +273,14 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
273
  scale=1
274
  )
275
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, scale=1)
276
- with gr.Row():
277
- randomize_seed = gr.Checkbox(label="Randomize seed", value=True, scale=1)
278
- aligned = gr.Checkbox(label="The input is an aligned face image.", value=False, scale=1)
279
  with gr.Row():
280
  with gr.Column(scale=1):
281
  run_button = gr.Button(value="Submit", variant="primary")
282
  with gr.Column(scale=1):
283
  clear_button = gr.ClearButton(value="Clear")
 
 
 
284
 
285
  with gr.Column(scale=1):
286
  gallery = gr.Gallery(
 
265
  label="Number of Inference Steps", minimum=1, maximum=200, step=1, value=25, scale=1
266
  )
267
  upscale_factor = gr.Slider(
268
+ label="Scale factor (applicable to non-aligned face images)",
269
  minimum=1,
270
  maximum=4,
271
  step=0.1,
 
273
  scale=1
274
  )
275
  seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=42, scale=1)
 
 
 
276
  with gr.Row():
277
  with gr.Column(scale=1):
278
  run_button = gr.Button(value="Submit", variant="primary")
279
  with gr.Column(scale=1):
280
  clear_button = gr.ClearButton(value="Clear")
281
+ with gr.Row():
282
+ randomize_seed = gr.Checkbox(label="Randomize seed", value=True, scale=1)
283
+ aligned = gr.Checkbox(label="The input is an aligned face image", value=False, scale=1)
284
 
285
  with gr.Column(scale=1):
286
  gallery = gr.Gallery(