Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,6 +130,10 @@ In this demo, we explore the potential biases in text-to-image models by generat
|
|
130 |
2. **Gender Detection**: The [BLIP caption generator](https://huggingface.co/Salesforce/blip-image-captioning-large) is used to elicit gender markers by identifying words like "man," "boy," "woman," and "girl" in the captions.
|
131 |
3. **Skin Tone Classification**: The [skin-tone-classifier library](https://github.com/ChenglongMa/SkinToneClassifier) is used to extract the skin tones of the generated subjects.
|
132 |
|
|
|
|
|
|
|
|
|
133 |
|
134 |
#### Visualization
|
135 |
|
@@ -149,7 +153,7 @@ This demo provides an insightful look into how current text-to-image models hand
|
|
149 |
],
|
150 |
value=default_model
|
151 |
)
|
152 |
-
prompt = gr.Textbox(label="Enter the Prompt", value = "photo of a
|
153 |
gallery = gr.Gallery(
|
154 |
label="Generated images",
|
155 |
show_label=False,
|
|
|
130 |
2. **Gender Detection**: The [BLIP caption generator](https://huggingface.co/Salesforce/blip-image-captioning-large) is used to elicit gender markers by identifying words like "man," "boy," "woman," and "girl" in the captions.
|
131 |
3. **Skin Tone Classification**: The [skin-tone-classifier library](https://github.com/ChenglongMa/SkinToneClassifier) is used to extract the skin tones of the generated subjects.
|
132 |
|
133 |
+
## Models
|
134 |
+
|
135 |
+
- Sintetico XL: a merged model with my favorite aesthetics
|
136 |
+
- Sintetico XL: a SFW version that aims to remove unwanted nudity and sexual content.
|
137 |
|
138 |
#### Visualization
|
139 |
|
|
|
153 |
],
|
154 |
value=default_model
|
155 |
)
|
156 |
+
prompt = gr.Textbox(label="Enter the Prompt", value = "photo of a Brazilian scientist, high quality, good lighting")
|
157 |
gallery = gr.Gallery(
|
158 |
label="Generated images",
|
159 |
show_label=False,
|