Trent commited on
Commit
8518d75
1 Parent(s): 213fb53

Custom samples

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -190,6 +190,11 @@ For more cool information on sentence embeddings, see the [sBert project](https:
190
  base_text = st.text_input("Gender Neutral Text", "Nurse administered the vaccine and rubbed alcohol.")
191
  male_text = st.text_input("Male-assumed Text", "He administered the vaccine and rubbed alcohol.")
192
  female_text = st.text_input("Female-assumed Text", "She administered the vaccine and rubbed alcohol.")
 
 
 
 
 
193
 
194
  enter = st.button("Compare")
195
  if enter:
 
190
  base_text = st.text_input("Gender Neutral Text", "Nurse administered the vaccine and rubbed alcohol.")
191
  male_text = st.text_input("Male-assumed Text", "He administered the vaccine and rubbed alcohol.")
192
  female_text = st.text_input("Female-assumed Text", "She administered the vaccine and rubbed alcohol.")
193
+ else:
194
+ base_text = st.text_input("Gender Neutral Text")
195
+ male_text = st.text_input("Male-assumed Text")
196
+ female_text = st.text_input("Female-assumed Text")
197
+
198
 
199
  enter = st.button("Compare")
200
  if enter: