hadisalman commited on
Commit
9eb36be
1 Parent(s): b04b973

update description

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -143,18 +143,19 @@ demo = gr.Interface(fn=run,
143
  <br />
144
  We present an approach to mitigating the risks of malicious image editing posed by large diffusion models. The key idea is to immunize images so as to make them resistant to manipulation by these models. This immunization relies on injection of imperceptible adversarial perturbations designed to disrupt the operation of the targeted diffusion models, forcing them to generate unrealistic images.
145
  <br />
146
- <br />
147
- **Demo steps:**
148
- + Upload an image (or select from the below examples!)
149
- + Mask (with the drawing tool) the parts of the image you want to maintain unedited (e.g., faces of people)
150
- + Add a prompt to edit the image accordingly (see examples below)
151
- + Play with the seed and click submit until you get a realistic edit that you are happy with (we have good seeds for you below)
152
-
153
- Now let's immunize your image and try again!
154
- + Click on the "immunize" button, then submit.
155
- + You will get the immunized image (which looks identical to the original one) and the edited image, which is now hopefully unrealistic!
156
- <br />
157
- **This is a research project and is not production-ready.**
 
158
  ''',
159
  )
160
 
 
143
  <br />
144
  We present an approach to mitigating the risks of malicious image editing posed by large diffusion models. The key idea is to immunize images so as to make them resistant to manipulation by these models. This immunization relies on injection of imperceptible adversarial perturbations designed to disrupt the operation of the targeted diffusion models, forcing them to generate unrealistic images.
145
  <br />
146
+ **This is a research project and is not production-ready.**
147
+ <details closed>
148
+ <summary>Demo steps:</summary>
149
+
150
+ + Upload an image (or select from the below examples!)
151
+ + Mask (using the drawing tool) the parts of the image you want to maintain unedited (e.g., faces of people)
152
+ + Add a prompt to edit the image accordingly (see examples below)
153
+ + Play with the seed and click submit until you get a realistic edit that you are happy with (we have good seeds for you below)
154
+
155
+ Now let's immunize your image and try again!
156
+ + Click on the "immunize" button, then submit.
157
+ + You will get the immunized image (which looks identical to the original one) and the edited image, which is now hopefully unrealistic!
158
+ </details>
159
  ''',
160
  )
161