Barak1 commited on
Commit
004b80f
·
1 Parent(s): 4dc9242
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -69,7 +69,6 @@ with gr.Blocks() as demo:
69
  gr.Markdown(f"""
70
  This is a demo for our [paper](https://arxiv.org/abs/2312.12540) **RNRI: Regularized Newton Raphson Inversion for Text-to-Image Diffusion Models**.
71
  Image editing using our RNRI for inversion demonstrates significant speed-up and improved quality compared to previous state-of-the-art methods.
72
- RNRI can be applied to a variety of diffusion models, including SDXL, DDIM, and others.
73
  Take a look at our [project page](https://barakmam.github.io/rnri.github.io/).
74
  """)
75
  with gr.Row():
@@ -113,6 +112,14 @@ with gr.Blocks() as demo:
113
  value=4,
114
  )
115
 
 
 
 
 
 
 
 
 
116
  with gr.Row():
117
  run_button = gr.Button("Edit", scale=1)
118
 
 
69
  gr.Markdown(f"""
70
  This is a demo for our [paper](https://arxiv.org/abs/2312.12540) **RNRI: Regularized Newton Raphson Inversion for Text-to-Image Diffusion Models**.
71
  Image editing using our RNRI for inversion demonstrates significant speed-up and improved quality compared to previous state-of-the-art methods.
 
72
  Take a look at our [project page](https://barakmam.github.io/rnri.github.io/).
73
  """)
74
  with gr.Row():
 
112
  value=4,
113
  )
114
 
115
+ inversion_max_step = gr.Slider(
116
+ label="Inversion strength",
117
+ minimum=0.0,
118
+ maximum=1.0,
119
+ step=0.01,
120
+ value=0.6,
121
+ )
122
+
123
  with gr.Row():
124
  run_button = gr.Button("Edit", scale=1)
125