Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,10 @@ openai_api_key = os.getenv('OPENAI_API_KEY')
|
|
11 |
pinecone_api_key = os.getenv('PINECONE_API_KEY')
|
12 |
pinecone_environment = os.getenv('PINECONE_ENVIRONMENT')
|
13 |
|
|
|
|
|
|
|
|
|
14 |
# Initialize Pinecone
|
15 |
pc = Pinecone(api_key=pinecone_api_key)
|
16 |
|
|
|
11 |
pinecone_api_key = os.getenv('PINECONE_API_KEY')
|
12 |
pinecone_environment = os.getenv('PINECONE_ENVIRONMENT')
|
13 |
|
14 |
+
# Debugging: Print the API keys
|
15 |
+
print(f"OpenAI API Key: {openai_api_key}")
|
16 |
+
print(f"Pinecone API Key: {pinecone_api_key}")
|
17 |
+
|
18 |
# Initialize Pinecone
|
19 |
pc = Pinecone(api_key=pinecone_api_key)
|
20 |
|