Mikeplockhart commited on
Commit
dc52b39
·
verified ·
1 Parent(s): 02b7760

Update utils.py

Browse files

Chroma variable name

Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -4,7 +4,7 @@ import json
4
 
5
  def chroma_client_setup():
6
  chroma_client = chromadb.Client()
7
- collection = client.create_collection(
8
  name="food_collection",
9
  metadata={"hnsw:space": "cosine"} # l2 is the default
10
  )
 
4
 
5
  def chroma_client_setup():
6
  chroma_client = chromadb.Client()
7
+ collection = chroma_client.create_collection(
8
  name="food_collection",
9
  metadata={"hnsw:space": "cosine"} # l2 is the default
10
  )