Spaces:
Runtime error
Runtime error
Avijit Ghosh
commited on
Commit
•
bc44730
1
Parent(s):
8f5be51
change title
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def generate_images_plots(prompt, model_name):
|
|
158 |
genders.append(genderfromcaption(caption))
|
159 |
return images, skintoneplot(skintones), genderplot(genders)
|
160 |
|
161 |
-
with gr.Blocks(title="Skin Tone and Gender bias in Text
|
162 |
gr.Markdown("# Skin Tone and Gender bias in Text to Image Models")
|
163 |
gr.Markdown('''
|
164 |
In this demo, we explore the potential biases in text-to-image models by generating multiple images based on user prompts and analyzing the gender and skin tone of the generated subjects. Here's how the analysis works:
|
|
|
158 |
genders.append(genderfromcaption(caption))
|
159 |
return images, skintoneplot(skintones), genderplot(genders)
|
160 |
|
161 |
+
with gr.Blocks(title="Skin Tone and Gender bias in Text-to-Image Generation Models") as demo:
|
162 |
gr.Markdown("# Skin Tone and Gender bias in Text to Image Models")
|
163 |
gr.Markdown('''
|
164 |
In this demo, we explore the potential biases in text-to-image models by generating multiple images based on user prompts and analyzing the gender and skin tone of the generated subjects. Here's how the analysis works:
|