orrinin commited on
Commit
226eb83
·
verified ·
1 Parent(s): 528f5a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def extract_doc(path):
58
 
59
  def create_col(documents):
60
  # Create a client and a new collection
61
- db_path = f'database/{str(uuid.uuid4()[:4])}'
62
  client = chromadb.PersistentClient(path=db_path)
63
  chroma_collection = client.get_or_create_collection("quickstart")
64
 
 
58
 
59
  def create_col(documents):
60
  # Create a client and a new collection
61
+ db_path = f'database/{str(uuid.uuid4())[:4]}'
62
  client = chromadb.PersistentClient(path=db_path)
63
  chroma_collection = client.get_or_create_collection("quickstart")
64