Eylon Caplan commited on
Commit
c2d6aa5
·
1 Parent(s): 242cdb4

demographic instead of demo 2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -339,7 +339,7 @@ with gr.Blocks(title="Splits! Sandbox", theme=gr.themes.Soft(primary_hue="indigo
339
  with gr.Row():
340
  target_demo = gr.Dropdown(choices=["black", "jewish", "catholic", "hindu_jain_sikh", "construction", "teacher"], label="🎯 Target Demographic", value="black", scale=2)
341
  swap_btn = gr.Button("🔄 Swap", scale=1, min_width=60)
342
- contrast_demo = gr.Dropdown(choices=["black", "jewish", "catholic", "hindu_jain_sikh", "construction", "teacher"], label="⚖️ Contrast Demo", value="teacher", scale=2)
343
 
344
  choices = get_topics_for_demos("black", "teacher")
345
  default_idx = choices[0][1] if choices and choices[0][1] != "" else None
 
339
  with gr.Row():
340
  target_demo = gr.Dropdown(choices=["black", "jewish", "catholic", "hindu_jain_sikh", "construction", "teacher"], label="🎯 Target Demographic", value="black", scale=2)
341
  swap_btn = gr.Button("🔄 Swap", scale=1, min_width=60)
342
+ contrast_demo = gr.Dropdown(choices=["black", "jewish", "catholic", "hindu_jain_sikh", "construction", "teacher"], label="⚖️ Contrast Demographic", value="teacher", scale=2)
343
 
344
  choices = get_topics_for_demos("black", "teacher")
345
  default_idx = choices[0][1] if choices and choices[0][1] != "" else None