JoJosmin commited on
Commit
b975250
·
verified ·
1 Parent(s): c64a7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -33,9 +33,10 @@ clip_model, preprocess_val, tokenizer, device = load_clip_model()
33
  #yolo_model = load_yolo_model()
34
 
35
  # Load chromaDB
36
- client = chromadb.PersistentClient(path="./clothesDB_11Musinsa_2")
 
37
  #collection = client.get_collection(name="clothes_items_ver3")
38
- collection = client.get_collection(name="clothes_ver1")
39
 
40
 
41
  # Helper functions
 
33
  #yolo_model = load_yolo_model()
34
 
35
  # Load chromaDB
36
+ client = chromadb.Client()
37
+ client = chromadb.PersistentClient(path="./clothesDB_202410_2")
38
  #collection = client.get_collection(name="clothes_items_ver3")
39
+ collection = client.get_collection(name="clothes")
40
 
41
 
42
  # Helper functions