whoami02 commited on
Commit
25554a3
1 Parent(s): af7eb65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
  model_kwargs = model_kwargs,
43
  encode_kwargs = {'normalize_embeddings':True}
44
  )
45
- persist_directory = r"data\VectorDB\db_book_mmt"
46
  vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
47
  return similarity_search2(vectordb, query, k, unique)
48
 
 
42
  model_kwargs = model_kwargs,
43
  encode_kwargs = {'normalize_embeddings':True}
44
  )
45
+ persist_directory = r"VectorDB\db_book_mmt"
46
  vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
47
  return similarity_search2(vectordb, query, k, unique)
48