Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ def load_clip_model():
|
|
27 |
clip_model, preprocess_val, tokenizer, device = load_clip_model()
|
28 |
|
29 |
# Load chromaDB
|
30 |
-
client = chromadb.PersistentClient(path="./
|
31 |
-
collection = client.get_collection(name="
|
32 |
|
33 |
# Helper functions
|
34 |
def load_image_from_url(url, max_retries=3):
|
|
|
27 |
clip_model, preprocess_val, tokenizer, device = load_clip_model()
|
28 |
|
29 |
# Load chromaDB
|
30 |
+
client = chromadb.PersistentClient(path="./fashion_multimodal_db")
|
31 |
+
collection = client.get_collection(name="fashion_multimodal")
|
32 |
|
33 |
# Helper functions
|
34 |
def load_image_from_url(url, max_retries=3):
|