Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ from llama_index.vector_stores.pinecone import PineconeVectorStore
|
|
12 |
logging.basicConfig(level=logging.INFO)
|
13 |
|
14 |
# 2. Set API Keys (Use environment variables for security)
|
15 |
-
os.environ["OPENAI_API_KEY"]
|
16 |
-
os.environ["PINECONE_API_KEY"]
|
17 |
|
18 |
# 3. Initialize Pinecone
|
19 |
pc = Pinecone(api_key=os.environ["PINECONE_API_KEY"])
|
|
|
12 |
logging.basicConfig(level=logging.INFO)
|
13 |
|
14 |
# 2. Set API Keys (Use environment variables for security)
|
15 |
+
os.environ["OPENAI_API_KEY"]
|
16 |
+
os.environ["PINECONE_API_KEY"]
|
17 |
|
18 |
# 3. Initialize Pinecone
|
19 |
pc = Pinecone(api_key=os.environ["PINECONE_API_KEY"])
|