Spaces:
Runtime error
Runtime error
sashavor
commited on
Commit
·
c983155
1
Parent(s):
510496f
initial app commit
Browse files
app.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
with gr.Blocks() as demo:
|
| 5 |
+
gr.Markdown("""
|
| 6 |
+
## Stable Bias: Analyzing Societal Representations in Diffusion Models
|
| 7 |
+
""")
|
| 8 |
+
gr.HTML('''
|
| 9 |
+
<p style="margin-bottom: 10px; font-size: 94%">This is the demo page for the "Stable Bias" paper, which aims to explore and quantify social biases in text-to-image systems.</p>
|
| 10 |
+
''')
|
| 11 |
+
gr.HTML('''
|
| 12 |
+
<p style="margin-bottom: 10px; font-size: 94%">This work was done by <a href='https://huggingface.co/sasha' style='text-decoration: underline;' target='_blank'> Alexandra Sasha Luccioni (Hugging Face) </a>, <a href='https://huggingface.co/cakiki' style='text-decoration: underline;' target='_blank'> Christopher Akiki (ScaDS.AI, Leipzig University)</a>, <a href='https://huggingface.co/meg' style='text-decoration: underline;' target='_blank'> Margaret Mitchell (Hugging Face) </a> and <a href='https://huggingface.co/yjernite' style='text-decoration: underline;' target='_blank'> Yacine Jernite (Hugging Face) </a> .</p>
|
| 13 |
+
''')
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
demo.launch(debug=True)
|