Farazquraishi commited on
Commit
28c04c5
β€’
1 Parent(s): 5e55c7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -178,18 +178,18 @@ def run_inference(target, source, slider, adv_slider, settings):
178
  return None
179
 
180
 
181
- description = " \n\n" \
182
- " \n\n" \
183
- "\n\n" \
184
- "\n\n" \
185
  "\n\n" \
186
- "\n\n" \
187
- "\n\n" \
188
- "\n\n" \
189
- "\n\n" \
190
- "\n\n" \
191
- "\n\n" \
192
- "May not work properly!"
193
  examples = [["assets/rick.jpg", "assets/musk.jpg", 100, 10, ["compare"]],
194
  ["assets/musk.jpg", "assets/musk.jpg", 100, 10, ["anonymize"]]]
195
  article = """
@@ -212,4 +212,4 @@ iface = gradio.Interface(run_inference,
212
  examples=examples,
213
  article=article,
214
  layout="vertical")
215
- iface.launch()
 
178
  return None
179
 
180
 
181
+ description = "Performs subject agnostic identity transfer from a source face to all target faces. \n\n" \
182
+ "Implementation and demo of FaceDancer, accepted to WACV 2023. \n\n" \
183
+ "Pre-print: https://arxiv.org/abs/2210.10473 \n\n" \
184
+ "Code: https://github.com/felixrosberg/FaceDancer \n\n" \
185
  "\n\n" \
186
+ "Options:\n\n" \
187
+ "-Compare returns the target image concatenated with the results.\n\n" \
188
+ "-Anonymize will ignore the source image and perform an identity permutation of target faces.\n\n" \
189
+ "-Reconstruction attack will attempt to invert the face swap or the anonymization.\n\n" \
190
+ "-Adversarial defense will add a permutation noise that disrupts the reconstruction attack.\n\n" \
191
+ "NOTE: There is no guarantees with the anonymization process currently.\n\n" \
192
+ "NOTE: source image with too high resolution may not work properly!"
193
  examples = [["assets/rick.jpg", "assets/musk.jpg", 100, 10, ["compare"]],
194
  ["assets/musk.jpg", "assets/musk.jpg", 100, 10, ["anonymize"]]]
195
  article = """
 
212
  examples=examples,
213
  article=article,
214
  layout="vertical")
215
+ iface.launch()