ccm commited on
Commit
4c335f0
1 Parent(s): 2680ab2

Only change on value change, not selection

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -250,7 +250,7 @@ details = streamlit.sidebar
250
  details.markdown("The following dropdowns allow you to select the specific models that are used for analysis.")
251
  details.markdown("When it comes to gender inference, you have two models to choose from: [`gender_guesser`](https://github.com/lead-ratings/gender-guesser) (which is primarily trained on European names), and [`genderComputer`](https://github.com/tue-mdse/genderComputer) (which draws on more global data).")
252
  gender_model = details.selectbox("Gender Inference Model", ("gender_guesser", "genderComputer"))
253
- details.markdown("The ethnicity inference models are all drawn from the [`ethnicolr`](https://github.com/appeler/ethnicolr) library. The `census` option performs ethnicity lookup using U.S. Census data; `wikipedia` uses a model trained on data from wikipedia, and provides deatiled classification; `North Carolina` provides a similarly deatiled classification based on North Carolina registration data; finally `Florida` provides a coarse classification based on Florida registration data.")
254
  ethnicity_model = details.selectbox("Ethnicity Inference Model", ("ethnicolr - census data",
255
  "ethnicolr - wikipedia data",
256
  "ethnicolr - North Carolina data",
 
250
  details.markdown("The following dropdowns allow you to select the specific models that are used for analysis.")
251
  details.markdown("When it comes to gender inference, you have two models to choose from: [`gender_guesser`](https://github.com/lead-ratings/gender-guesser) (which is primarily trained on European names), and [`genderComputer`](https://github.com/tue-mdse/genderComputer) (which draws on more global data).")
252
  gender_model = details.selectbox("Gender Inference Model", ("gender_guesser", "genderComputer"))
253
+ details.markdown("The ethnicity inference models are all drawn from the [`ethnicolr`](https://github.com/appeler/ethnicolr) library. The models are differentiated by the data they are trained on.")
254
  ethnicity_model = details.selectbox("Ethnicity Inference Model", ("ethnicolr - census data",
255
  "ethnicolr - wikipedia data",
256
  "ethnicolr - North Carolina data",