peter2000 commited on
Commit
3ddbd4c
·
1 Parent(s): 6ed36a2

Update apps/similarity.py

Browse files
Files changed (1) hide show
  1. apps/similarity.py +2 -2
apps/similarity.py CHANGED
@@ -11,9 +11,9 @@ def app():
11
  with st.container():
12
  col1, col2 = st.columns(2)
13
  with col1:
14
- word_to_embed1 = st.text_input("Text 1", value="",)
15
  with col2:
16
- word_to_embed2 = st.text_input("Text 2", value="",)
17
 
18
  if st.button("Embed"):
19
  with st.spinner("Embedding comparing your inputs"):
 
11
  with st.container():
12
  col1, col2 = st.columns(2)
13
  with col1:
14
+ word_to_embed1 = st.text_input("Text 1", value="The most vulnerable countries are seeking ‘loss and damage’ compensation from the biggest polluters.",)
15
  with col2:
16
+ word_to_embed2 = st.text_input("Text 2", value="COP27 opens amid compounding crises of war, warming and economic instability.",)
17
 
18
  if st.button("Embed"):
19
  with st.spinner("Embedding comparing your inputs"):