Spaces:
Running
Running
felixrosberg
commited on
Commit
β’
be61f9d
1
Parent(s):
20aec25
Update app.py
Browse files
app.py
CHANGED
@@ -180,12 +180,14 @@ def run_inference(target, source, slider, adv_slider, settings):
|
|
180 |
|
181 |
|
182 |
description = "Performs subject agnostic identity transfer from a source face to all target faces. \n\n" \
|
183 |
-
"Options:\n" \
|
184 |
-
"
|
185 |
-
"
|
186 |
-
"
|
|
|
|
|
187 |
"\n" \
|
188 |
-
"
|
189 |
examples = [["assets/rick.jpg", "assets/musk.jpg", 100, 10, ["compare"]],
|
190 |
["assets/musk.jpg", "assets/musk.jpg", 100, 10, ["anonymize"]]]
|
191 |
article = """
|
|
|
180 |
|
181 |
|
182 |
description = "Performs subject agnostic identity transfer from a source face to all target faces. \n\n" \
|
183 |
+
"Options:\n\n" \
|
184 |
+
"-Compare returns the target image concatenated with the results.\n\n" \
|
185 |
+
"-Anonymize will ignore the source image and perform an identity permutation of target faces.\n\n" \
|
186 |
+
"-Reconstruction attack will attempt to invert the face swap or the anonymization.\n\n" \
|
187 |
+
"-Adversarial defense will add a permutation noise that disrupts the reconstruction attack.\n\n" \
|
188 |
+
"NOTE: There is no guarantees with the anonymization process currently.\n\n" \
|
189 |
"\n" \
|
190 |
+
"NOTE, source image with too high resolution may not work properly!"
|
191 |
examples = [["assets/rick.jpg", "assets/musk.jpg", 100, 10, ["compare"]],
|
192 |
["assets/musk.jpg", "assets/musk.jpg", 100, 10, ["anonymize"]]]
|
193 |
article = """
|