Spaces:
Sleeping
Sleeping
Federico Galatolo
commited on
Commit
·
a09dcd0
1
Parent(s):
a96ba8a
spelling
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from elasticsearch import Elasticsearch
|
|
| 5 |
from embedders.labse import LaBSE
|
| 6 |
|
| 7 |
def search():
|
| 8 |
-
status_indicator.write(f"Loading model {model_name} (it can take ~1 minute
|
| 9 |
model = globals()[model_name]()
|
| 10 |
|
| 11 |
status_indicator.write(f"Computing query embeddings...")
|
|
|
|
| 5 |
from embedders.labse import LaBSE
|
| 6 |
|
| 7 |
def search():
|
| 8 |
+
status_indicator.write(f"Loading model {model_name} (it can take ~1 minute the first time)...")
|
| 9 |
model = globals()[model_name]()
|
| 10 |
|
| 11 |
status_indicator.write(f"Computing query embeddings...")
|