Mark7549 commited on
Commit
0fd37f7
·
1 Parent(s): 51778ca

fixed small bug in nearest neighbours function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if active_tab == "Nearest neighbours":
21
 
22
  with st.container():
23
  with col1:
24
- word = st.multiselect("Enter a word", all_words)
25
 
26
  with col2:
27
  time_slice = st.selectbox("Time slice", ["Archaic", "Classical", "Hellenistic", "Early Roman", "Late Roman"])
 
21
 
22
  with st.container():
23
  with col1:
24
+ word = st.multiselect("Enter a word", all_words, max_selections=1)[0]
25
 
26
  with col2:
27
  time_slice = st.selectbox("Time slice", ["Archaic", "Classical", "Hellenistic", "Early Roman", "Late Roman"])