gofeco commited on
Commit
7518e4e
1 Parent(s): 638c04e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import streamlit as st
8
  embedding_function = SentenceTransformerEmbeddings(model_name="all-mpnet-base-v2")
9
  chdb = Chroma(persist_directory="./chroma_db_info", embedding_function=embedding_function)
10
 
11
- query = st.text_area("Enter a query")
12
  disnum = 3
13
  if query:
14
  docs = chdb.similarity_search_with_score(query)
 
8
  embedding_function = SentenceTransformerEmbeddings(model_name="all-mpnet-base-v2")
9
  chdb = Chroma(persist_directory="./chroma_db_info", embedding_function=embedding_function)
10
 
11
+ query = st.text_input("Enter a query")
12
  disnum = 3
13
  if query:
14
  docs = chdb.similarity_search_with_score(query)