lalashechka commited on
Commit
e78ce53
1 Parent(s): ee76b4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -168,14 +168,14 @@ with gr.Blocks(css=css) as demo:
168
  with gr.Tab("Настройки апскейлинга"):
169
  with gr.Column():
170
  with gr.Row():
171
- scale_by = gr.Number(show_label=True, label="Во сколько раз увеличить:", minimum=1, maximum=4, value=2, step=1)
172
  with gr.Row():
173
  method = gr.Dropdown(show_label=True, value="ESRGAN_4x", label="Алгоритм увеличения", choices=["ScuNET GAN", "SwinIR 4x", "ESRGAN_4x", "R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B"])
174
  with gr.Column():
175
  with gr.Row():
176
- gfpgan = gr.Slider(show_label=True, label="Эффект GFPGAN", minimum=0, maximum=1, value=0, step=0.1)
177
  with gr.Row():
178
- codeformer = gr.Slider(show_label=True, label="Эффект CodeFormer", minimum=0, maximum=1, value=0, step=0.1)
179
 
180
  with gr.Column():
181
  text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")
 
168
  with gr.Tab("Настройки апскейлинга"):
169
  with gr.Column():
170
  with gr.Row():
171
+ scale_by = gr.Number(show_label=True, label="Во сколько раз увеличить:", minimum=1, maximum=2, value=2, step=1)
172
  with gr.Row():
173
  method = gr.Dropdown(show_label=True, value="ESRGAN_4x", label="Алгоритм увеличения", choices=["ScuNET GAN", "SwinIR 4x", "ESRGAN_4x", "R-ESRGAN 4x+", "R-ESRGAN 4x+ Anime6B"])
174
  with gr.Column():
175
  with gr.Row():
176
+ gfpgan = gr.Slider(show_label=True, label="Эффект GFPGAN (для улучшения лица)", minimum=0, maximum=1, value=0, step=0.1)
177
  with gr.Row():
178
+ codeformer = gr.Slider(show_label=True, label="Эффект CodeFormer (для улучшения лица)", minimum=0, maximum=1, value=0, step=0.1)
179
 
180
  with gr.Column():
181
  text_button = gr.Button("Сгенерировать изображение", variant='primary', elem_id="generate")