bhulston commited on
Commit
4871886
1 Parent(s): ebcd6a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ pinecone.init(
27
  )
28
  index_name = "use-class-db"
29
 
30
- embeddings = OpenAIEmbeddings()
31
 
32
  index = pinecone.Index(index_name)
33
 
 
27
  )
28
  index_name = "use-class-db"
29
 
30
+ embeddings = OpenAIEmbeddings(openai_api_key = OPENAI_API)
31
 
32
  index = pinecone.Index(index_name)
33