ohayonguy commited on
Commit
917533b
1 Parent(s): 82e4949

added note

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ demo = gr.Interface(
168
  inference, [
169
  gr.Image(type="filepath", label="Input"),
170
  gr.Radio(['Yes', 'No'], type="value", value='aligned', label='Is the input an aligned face image?'),
171
- gr.Number(label="Scale factor for the background upsampler. Insert a value between 1 and 4 (including). Applicable only to non-aligned face images.", value=1),
172
  gr.Number(label="Number of flow steps. A higher value should result in better image quality, but will inference will take a longer time.", value=25),
173
  ], [
174
  gr.Image(type="numpy", label="Output"),
 
168
  inference, [
169
  gr.Image(type="filepath", label="Input"),
170
  gr.Radio(['Yes', 'No'], type="value", value='aligned', label='Is the input an aligned face image?'),
171
+ gr.Slider(label="Scale factor for the background upsampler. Applicable only to non-aligned face images.", minimum=1, maximum=4, value=2, step=0.1, interactive=True),
172
  gr.Number(label="Number of flow steps. A higher value should result in better image quality, but will inference will take a longer time.", value=25),
173
  ], [
174
  gr.Image(type="numpy", label="Output"),