Spaces:
Sleeping
Sleeping
Gordon Weakliem
commited on
Commit
·
79e37a7
1
Parent(s):
612944c
Derp
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import streamlit as st
|
|
| 4 |
|
| 5 |
model_name = "nomic-ai/nomic-embed-text-v2-moe"
|
| 6 |
with st.form("embedding"):
|
| 7 |
-
sentence1 = st.
|
| 8 |
-
sentence2 = st.
|
| 9 |
sim_fun = st.selectbox('Similarity Function', ['COSINE', 'DOT_PRODUCT', 'EUCLIDEAN', 'MANHATTAN'])
|
| 10 |
calculate = st.form_submit_button('Calculate')
|
| 11 |
|
|
|
|
| 4 |
|
| 5 |
model_name = "nomic-ai/nomic-embed-text-v2-moe"
|
| 6 |
with st.form("embedding"):
|
| 7 |
+
sentence1 = st.text_input(label="Sentence 1:",value="Hello!")
|
| 8 |
+
sentence2 = st.text_input(label="Sentence 2:",value="¡Hola!")
|
| 9 |
sim_fun = st.selectbox('Similarity Function', ['COSINE', 'DOT_PRODUCT', 'EUCLIDEAN', 'MANHATTAN'])
|
| 10 |
calculate = st.form_submit_button('Calculate')
|
| 11 |
|