Spaces:
Sleeping
Sleeping
Only change on value change, not selection
Browse files
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.
|
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",
|