Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,6 @@ embeddings = HuggingFaceEmbeddings(
|
|
14 |
encode_kwargs={'normalize_embeddings': False}
|
15 |
)
|
16 |
|
17 |
-
|
18 |
db = FAISS.from_texts(sample_words, embeddings)
|
19 |
|
20 |
# UI
|
@@ -29,4 +28,3 @@ if submit:
|
|
29 |
st.subheader("Top Words:")
|
30 |
st.text(results[0].page_content)
|
31 |
st.text(results[1].page_content)
|
32 |
-
|
|
|
14 |
encode_kwargs={'normalize_embeddings': False}
|
15 |
)
|
16 |
|
|
|
17 |
db = FAISS.from_texts(sample_words, embeddings)
|
18 |
|
19 |
# UI
|
|
|
28 |
st.subheader("Top Words:")
|
29 |
st.text(results[0].page_content)
|
30 |
st.text(results[1].page_content)
|
|