barretto commited on
Commit
34f82b4
·
1 Parent(s): 35e516f

changed ethnicity to race

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ demo = gr.Interface(
32
  gr.Slider(100,250,value=160, label="Height (cm)"), #Height
33
  gr.Slider(40,250,value=50, label="Weight (kg)"), #Weight
34
  gr.Radio(["Young", "Adult", "Middle-aged", "Old"], label="Age" ), #Age
35
- gr.Dropdown(sorted(["South Asian", "North Asian", "White", "African American", "American Indian", "Hispanic", "Latin"]), label="Ethnicity"), #Ethnicity
36
  gr.Dropdown(sorted(["Black", "Brown", "Yellow", "Peach","Tan","Beige", "White", "Grey"]), label="Skin color" ), #Skin color
37
  gr.Radio(sorted(["Short", "Long", "Bald", "Medium"]), label="Hair length" ), #Hair length
38
  gr.Dropdown(sorted(["Black","Dark brown", "Light brown", "Blond", "Red", "Grey"]), label="Hair color" ), #Hair color
 
32
  gr.Slider(100,250,value=160, label="Height (cm)"), #Height
33
  gr.Slider(40,250,value=50, label="Weight (kg)"), #Weight
34
  gr.Radio(["Young", "Adult", "Middle-aged", "Old"], label="Age" ), #Age
35
+ gr.Dropdown(sorted(["South Asian", "North Asian", "White", "African American", "American Indian", "Hispanic", "Latin"]), label="Race"), #Race
36
  gr.Dropdown(sorted(["Black", "Brown", "Yellow", "Peach","Tan","Beige", "White", "Grey"]), label="Skin color" ), #Skin color
37
  gr.Radio(sorted(["Short", "Long", "Bald", "Medium"]), label="Hair length" ), #Hair length
38
  gr.Dropdown(sorted(["Black","Dark brown", "Light brown", "Blond", "Red", "Grey"]), label="Hair color" ), #Hair color