Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ collection = client.get_collection(name="knowledge_base")
|
|
| 24 |
print("Collection Embedding Dimension:", collection.metadata)
|
| 25 |
|
| 26 |
# Initialize models
|
| 27 |
-
text_model = SentenceTransformer('
|
| 28 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
|
| 29 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
|
| 30 |
|
|
|
|
| 24 |
print("Collection Embedding Dimension:", collection.metadata)
|
| 25 |
|
| 26 |
# Initialize models
|
| 27 |
+
text_model = SentenceTransformer('all-MiniLM-L6-v2')
|
| 28 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
|
| 29 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
|
| 30 |
|