Spaces:
Runtime error
Runtime error
Commit
•
061182b
1
Parent(s):
3eebbc1
Adding intro message
Browse files
app.py
CHANGED
@@ -22,7 +22,21 @@ def run_protection_interface(uploaded_image, mode='low', sd=1e6, format='png', s
|
|
22 |
return None, "Protection process failed or no cloaked image generated."
|
23 |
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
with gr.Blocks() as demo:
|
|
|
26 |
with gr.Row():
|
27 |
with gr.Column():
|
28 |
gr.Markdown("### Upload Image")
|
|
|
22 |
return None, "Protection process failed or no cloaked image generated."
|
23 |
|
24 |
|
25 |
+
intro_md = """
|
26 |
+
# Fawkes Utility
|
27 |
+
This is an app that uses a really cool project from the SAND Lab at University of Chicago called
|
28 |
+
[Fawkes](https://sandlab.cs.uchicago.edu/fawkes/).
|
29 |
+
|
30 |
+
> Fawkes, an algorithm and software tool (running locally on your computer) that gives individuals the ability to limit
|
31 |
+
how unknown third parties can track them by building facial recognition models out of their publicly available photos.
|
32 |
+
At a high level, Fawkes "poisons" models that try to learn what you look like, by putting hidden changes into your photos,
|
33 |
+
and using them as Trojan horses to deliver that poison to any facial recognition models of you.
|
34 |
+
Fawkes takes your personal images and makes tiny, pixel-level changes that are invisible to the human eye,
|
35 |
+
in a process we call image cloaking.
|
36 |
+
"""
|
37 |
+
|
38 |
with gr.Blocks() as demo:
|
39 |
+
gr.Markdown(intro_md)
|
40 |
with gr.Row():
|
41 |
with gr.Column():
|
42 |
gr.Markdown("### Upload Image")
|