Spaces:
Sleeping
Sleeping
debug
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ logging.basicConfig(level=logging.INFO)
|
|
35 |
# Initialize the Qdrant searcher
|
36 |
qdrant_url = os.getenv('QDRANT_URL')
|
37 |
access_token = os.getenv('QDRANT_ACCESS_TOKEN')
|
38 |
-
encoder = SentenceTransformer('
|
39 |
searcher = QdrantSearcher(encoder, qdrant_url, access_token)
|
40 |
|
41 |
# Request body models
|
|
|
35 |
# Initialize the Qdrant searcher
|
36 |
qdrant_url = os.getenv('QDRANT_URL')
|
37 |
access_token = os.getenv('QDRANT_ACCESS_TOKEN')
|
38 |
+
encoder = SentenceTransformer('nomic-ai/nomic-embed-text-v1.5', trust_remote_code=True)
|
39 |
searcher = QdrantSearcher(encoder, qdrant_url, access_token)
|
40 |
|
41 |
# Request body models
|