Spaces:
Sleeping
Sleeping
samlonka
commited on
Commit
·
f31acc3
1
Parent(s):
ca1820c
'key'
Browse files
utils.py
CHANGED
@@ -33,7 +33,7 @@ def initialize_embedding_model(model_name, device="cpu", normalize_embeddings=Tr
|
|
33 |
|
34 |
|
35 |
# embedding model for quick calculations
|
36 |
-
|
37 |
#nomic embed model used for similarity scores
|
38 |
nomic_embed_model = NomicEmbeddings(
|
39 |
dimensionality=128,
|
|
|
33 |
|
34 |
|
35 |
# embedding model for quick calculations
|
36 |
+
os.environ['NOMIC_API_KEY'] = os.getenv('NOMIC_API_KEY')
|
37 |
#nomic embed model used for similarity scores
|
38 |
nomic_embed_model = NomicEmbeddings(
|
39 |
dimensionality=128,
|