shainaraza commited on
Commit
d1ac74e
1 Parent(s): 460f5fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -1
app.py CHANGED
@@ -34,7 +34,27 @@ pipeline = BiasPipeline()
34
 
35
  # Streamlit interface
36
  st.title('UnBIAS App')
37
- example_sentences = ["Women are just too emotional to be leaders.", "All young people are lazy and addicted to their phones."]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  selected_sentence = st.selectbox("Choose an example or type your own below:", [""] + example_sentences)
39
  input_text = st.text_area("Enter text:", selected_sentence, height=150)
40
 
 
34
 
35
  # Streamlit interface
36
  st.title('UnBIAS App')
37
+ example_sentences = [
38
+ "Women are just too emotional to be leaders.",
39
+ "All young people are lazy and addicted to their phones.",
40
+ "People from that country are always dishonest and corrupt.",
41
+ "Men are inherently better at science and math than women.",
42
+ "The elderly are just burdens to society; they contribute nothing.",
43
+ "All poor people are lazy and don't want to work.",
44
+ "People who follow that religion are all terrorists.",
45
+ "Immigrants are taking all our jobs and ruining the country.",
46
+ "All wealthy people achieved success only through manipulation and deceit.",
47
+ "People with tattoos are not professional.",
48
+ "All politicians are liars and cannot be trusted.",
49
+ "Blue-collar workers don't have any real skills.",
50
+ "Anyone who doesn't attend college is unintelligent.",
51
+ "Only people from the city are sophisticated.",
52
+ "Rural folks have backward mindsets and don't understand progress.",
53
+ "All artists are always broke and unreliable.",
54
+ "Anyone from that region is uneducated and narrow-minded.",
55
+ "People without jobs are simply not trying hard enough."
56
+ ]
57
+
58
  selected_sentence = st.selectbox("Choose an example or type your own below:", [""] + example_sentences)
59
  input_text = st.text_area("Enter text:", selected_sentence, height=150)
60