Spaces:
Running
on
A10G
Running
on
A10G
barakmam
commited on
Commit
·
18f1840
1
Parent(s):
8b4ae53
minor fix
Browse files
app.py
CHANGED
@@ -192,12 +192,11 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
192 |
cache_examples=False
|
193 |
)
|
194 |
|
195 |
-
gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
outputs=[inv_state, is_set_text], trigger_mode='once')
|
201 |
|
202 |
description_prompt.change(set_pipe, inputs=[input_image, description_prompt, edit_guidance_scale,
|
203 |
num_inference_steps,
|
|
|
192 |
cache_examples=False
|
193 |
)
|
194 |
|
195 |
+
gr.Markdown(f"""Disclaimer: Performance may be inferior to the reported in the paper due to hardware limitation.""")
|
196 |
+
|
197 |
+
input_image.change(set_pipe, inputs=[input_image, description_prompt, edit_guidance_scale, num_inference_steps,
|
198 |
+
num_inference_steps, inversion_max_step, rnri_iterations, rnri_alpha, rnri_lr],
|
199 |
+
outputs=[inv_state, is_set_text], trigger_mode='once')
|
|
|
200 |
|
201 |
description_prompt.change(set_pipe, inputs=[input_image, description_prompt, edit_guidance_scale,
|
202 |
num_inference_steps,
|