Mikeplockhart commited on
Commit
7967a92
1 Parent(s): afc3612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ collection.add(
43
  ids=[f"id_{idx}" for idx, _ in enumerate(payload)]
44
  )
45
 
46
- def search_chroma(collection, query:str):
47
  results = collection.query(
48
  query_embeddings=embedding_function([query]),
49
  n_results=5
 
43
  ids=[f"id_{idx}" for idx, _ in enumerate(payload)]
44
  )
45
 
46
+ def search_chroma(query:str):
47
  results = collection.query(
48
  query_embeddings=embedding_function([query]),
49
  n_results=5