Spaces:
Build error
Build error
Commit
·
aa905fa
1
Parent(s):
df1ddcb
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ docs = [
|
|
| 19 |
'This is a document',
|
| 20 |
'and another document'
|
| 21 |
]
|
| 22 |
-
embeddings = embed_model.
|
| 23 |
|
| 24 |
api_key = os.environ.get('PINCONE_API_KEY')
|
| 25 |
env_name = os.environ.get('PINECONE_ENV')
|
|
|
|
| 19 |
'This is a document',
|
| 20 |
'and another document'
|
| 21 |
]
|
| 22 |
+
embeddings = embed_model.embed_documents(docs)
|
| 23 |
|
| 24 |
api_key = os.environ.get('PINCONE_API_KEY')
|
| 25 |
env_name = os.environ.get('PINECONE_ENV')
|