sasha HF Staff commited on
Commit
72bd979
·
1 Parent(s): 138a816

Update app.py

Browse files

updating instructions/description

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -169,9 +169,9 @@ def show_examplars(num_clusters, prof_name, cl_id):
169
 
170
  with gr.Blocks(title=TITLE) as demo:
171
  gr.Markdown("# 🤗 Diffusion Cluster Explorer")
172
- gr.Markdown("description will go here")
173
  with gr.Tab("Professions Overview"):
174
- gr.Markdown("TODO")
175
  with gr.Row():
176
  with gr.Column(scale=1):
177
  gr.Markdown("Select the parameters here:")
@@ -222,7 +222,7 @@ with gr.Blocks(title=TITLE) as demo:
222
  with gr.Tab("Profession Focus"):
223
  with gr.Row():
224
  with gr.Column():
225
- gr.Markdown("Select profession to visualize here:")
226
  num_clusters_focus = gr.Radio(
227
  [12, 24, 48],
228
  value=12,
 
169
 
170
  with gr.Blocks(title=TITLE) as demo:
171
  gr.Markdown("# 🤗 Diffusion Cluster Explorer")
172
+ gr.Markdown("This tool helps you explore the different clusters that we discovered in the images generated by 3 text-to-image models: Dall-E 2, Stable Diffusion v.1.4 and v.2. This work was done in the scope of the [Stable Bias Project](https://huggingface.co/spaces/society-ethics/StableBias).")
173
  with gr.Tab("Professions Overview"):
174
+ gr.Markdown("Select one or more professions and models from the dropdowns on the left to see which clusters are most representative for this combination. Try choosing different numbers of clusters to see if the results change, and then go to the 'Profession Focus' tab to go more in-depth into these results.")
175
  with gr.Row():
176
  with gr.Column(scale=1):
177
  gr.Markdown("Select the parameters here:")
 
222
  with gr.Tab("Profession Focus"):
223
  with gr.Row():
224
  with gr.Column():
225
+ gr.Markdown("Select profession to visualize and see which clusters and identity groups are most represented in the profession, as well as some examples of generated images below.")
226
  num_clusters_focus = gr.Radio(
227
  [12, 24, 48],
228
  value=12,