Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,8 +11,8 @@ import pandas as pd
|
|
| 11 |
|
| 12 |
|
| 13 |
#Setup API Keys
|
| 14 |
-
|
| 15 |
-
openai_client =
|
| 16 |
papi_key = os.getenv("PINECONE_KEY")
|
| 17 |
|
| 18 |
###Setup Pinecone and create context for the user's query.
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
#Setup API Keys
|
| 14 |
+
openai_api_key = os.getenv("OPEN_API_KEY")
|
| 15 |
+
openai_client = OpenAI(api_key=openai_api_key)
|
| 16 |
papi_key = os.getenv("PINECONE_KEY")
|
| 17 |
|
| 18 |
###Setup Pinecone and create context for the user's query.
|