ubermenchh commited on
Commit
aa905fa
·
1 Parent(s): df1ddcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ docs = [
19
  'This is a document',
20
  'and another document'
21
  ]
22
- embeddings = embed_model.embed_docuements(docs)
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')