garibida commited on
Commit
ff54977
1 Parent(s): abc734b

Update gradio info

Browse files
Files changed (1) hide show
  1. gradio_app.py +9 -3
gradio_app.py CHANGED
@@ -152,13 +152,16 @@ with gr.Blocks(css='style.css') as demo:
152
  )
153
  inersion_strength = gr.Slider(
154
  label='Inversion Strength',
 
155
  minimum=0.0,
156
  maximum=1.0,
157
  value=1.0,
158
  step=0.25
159
  )
160
  avg_gradients = gr.Checkbox(
161
- label="Preform Estimation Averaging"
 
 
162
  )
163
  first_step_range_start = gr.Slider(
164
  label='First Estimation in Average (t < 250)',
@@ -192,6 +195,7 @@ with gr.Blocks(css='style.css') as demo:
192
  num_ac_rolls = 5
193
  lambda_ac = gr.Slider(
194
  label='Labmda AC',
 
195
  minimum=0.0,
196
  maximum=50.0,
197
  value=20.0,
@@ -199,13 +203,15 @@ with gr.Blocks(css='style.css') as demo:
199
  )
200
  lambda_kl = gr.Slider(
201
  label='Labmda Patch KL',
 
202
  minimum=0.0,
203
  maximum=0.4,
204
  value=0.065,
205
  step=0.005
206
  )
207
  noise_correction = gr.Checkbox(
208
- label="Preform Noise Correction"
 
209
  value=True
210
  )
211
 
@@ -363,4 +369,4 @@ with gr.Blocks(css='style.css') as demo:
363
  ]
364
  run_button.click(fn=main_pipeline, inputs=inputs, outputs=outputs)
365
 
366
- demo.queue(max_size=50).launch(share=True)
 
152
  )
153
  inersion_strength = gr.Slider(
154
  label='Inversion Strength',
155
+ info="Indicates how much to invert the reference image. The number of denoising steps depends on the amount of noise initially added. When strength is 1, the image will be inverted to complete noise and the denoising process will run for the full number of steps (4). When strength is 0.5, the image will be inverted to half noise and the denoising process will run for 2 steps.",
156
  minimum=0.0,
157
  maximum=1.0,
158
  value=1.0,
159
  step=0.25
160
  )
161
  avg_gradients = gr.Checkbox(
162
+ label="Preform Estimation Averaging",
163
+ info="IMPROVES RECONSTRUCTION. Averagin the estination over multiple ReNoise iterations can improve the quality of the reconstruction. The Next 4 sliders control the range of steps to average over. The first two sliders control the range of steps to average over for the first inversion step (t < 250). The last two sliders control the range of steps to average over for the rest of the inversion step (t > 250).",
164
+ value=True
165
  )
166
  first_step_range_start = gr.Slider(
167
  label='First Estimation in Average (t < 250)',
 
195
  num_ac_rolls = 5
196
  lambda_ac = gr.Slider(
197
  label='Labmda AC',
198
+ info="IMPROVES EDITABILITY. The weight of the pair loss in the noise prediction regulariztion. This loss encourages the inversion to predict more editable noise. A higher value allows more significant changes to the image (higher editability), but may result in less faithful reconstructions.",
199
  minimum=0.0,
200
  maximum=50.0,
201
  value=20.0,
 
203
  )
204
  lambda_kl = gr.Slider(
205
  label='Labmda Patch KL',
206
+ info="IMPROVES EDITABILITY. This weight controls the strength of the patch-level KL divergence term in the noise prediction regularization. While it encourages editable noise like the Labmda AC, it often has a less detrimental effect on reconstruction fidelity.",
207
  minimum=0.0,
208
  maximum=0.4,
209
  value=0.065,
210
  step=0.005
211
  )
212
  noise_correction = gr.Checkbox(
213
+ label="Preform Noise Correction",
214
+ info="IMPROVES RECONSTRUCTION. Performs noise correction to improve the reconstruction of the image.",
215
  value=True
216
  )
217
 
 
369
  ]
370
  run_button.click(fn=main_pipeline, inputs=inputs, outputs=outputs)
371
 
372
+ demo.queue(max_size=50).launch(share=False)