Spaces:
Running
Running
Update apps/similarity.py
Browse files- 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"):
|