Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -9,7 +9,8 @@ import numpy
|
|
| 9 |
# --- 1. SETUP MODELS AND DATABASE ---
|
| 10 |
|
| 11 |
print("Loading embedding model...")
|
| 12 |
-
embedding_model = SentenceTransformer('rufimelo/bert-large-portuguese-cased-sts')
|
|
|
|
| 13 |
|
| 14 |
client = chromadb.Client()
|
| 15 |
collection = client.get_or_create_collection(
|
|
|
|
| 9 |
# --- 1. SETUP MODELS AND DATABASE ---
|
| 10 |
|
| 11 |
print("Loading embedding model...")
|
| 12 |
+
#embedding_model = SentenceTransformer('rufimelo/bert-large-portuguese-cased-sts')
|
| 13 |
+
embedding_model = SentenceTransformer('jmbrito/ptbr-similarity-e5-small')
|
| 14 |
|
| 15 |
client = chromadb.Client()
|
| 16 |
collection = client.get_or_create_collection(
|