Spaces:
Sleeping
Sleeping
Update api_semantica.py
Browse files- api_semantica.py +1 -1
api_semantica.py
CHANGED
|
@@ -12,7 +12,7 @@ os.environ["SENTENCE_TRANSFORMERS_HOME"] = "./models_cache"
|
|
| 12 |
app = FastAPI()
|
| 13 |
|
| 14 |
# Cargar el modelo
|
| 15 |
-
modelo = SentenceTransformer("
|
| 16 |
|
| 17 |
# Cargar la base de embeddings
|
| 18 |
with open("base_semantica.json", "r", encoding="utf-8") as f:
|
|
|
|
| 12 |
app = FastAPI()
|
| 13 |
|
| 14 |
# Cargar el modelo
|
| 15 |
+
modelo = SentenceTransformer("Francogv/Modelo-Embedding")
|
| 16 |
|
| 17 |
# Cargar la base de embeddings
|
| 18 |
with open("base_semantica.json", "r", encoding="utf-8") as f:
|