Update app.py
Browse files
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 |
|