Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,12 +54,13 @@ ai_framework_text = "".join([doc.page_content for doc in ai_framework_document])
|
|
54 |
ai_blueprint_text = "".join([doc.page_content for doc in ai_blueprint_document])
|
55 |
|
56 |
# Now you can use these text variables
|
57 |
-
|
58 |
|
59 |
|
60 |
|
61 |
from sentence_transformers import SentenceTransformer
|
62 |
embedding_model = SentenceTransformer("Cheselle/finetuned-arctic-sentence")
|
|
|
63 |
#embeddings = embedding_model.encode(ai_framework_text + ai_blueprint_text)
|
64 |
#embeddings = embedding_model.encode(ai_framework_document + ai_blueprint_document)
|
65 |
|
|
|
54 |
ai_blueprint_text = "".join([doc.page_content for doc in ai_blueprint_document])
|
55 |
|
56 |
# Now you can use these text variables
|
57 |
+
|
58 |
|
59 |
|
60 |
|
61 |
from sentence_transformers import SentenceTransformer
|
62 |
embedding_model = SentenceTransformer("Cheselle/finetuned-arctic-sentence")
|
63 |
+
embeddings = embedding_model.encode(ai_framework_text + ai_blueprint_text)
|
64 |
#embeddings = embedding_model.encode(ai_framework_text + ai_blueprint_text)
|
65 |
#embeddings = embedding_model.encode(ai_framework_document + ai_blueprint_document)
|
66 |
|