Spaces:
Runtime error
Runtime error
updated index name
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ OPENAI_SECRET_TOKEN = os.getenv("OPENAI_SECRET_TOKEN")
|
|
| 6 |
PINECONE_SECRET_TOKEN = os.getenv("PINECONE_SECRET_TOKEN")
|
| 7 |
from pinecone import Pinecone
|
| 8 |
pc = Pinecone(api_key=PINECONE_SECRET_TOKEN)
|
| 9 |
-
index_name = '
|
| 10 |
# connect to index
|
| 11 |
index = pc.Index(index_name)
|
| 12 |
# get api key from platform.openai.com
|
|
|
|
| 6 |
PINECONE_SECRET_TOKEN = os.getenv("PINECONE_SECRET_TOKEN")
|
| 7 |
from pinecone import Pinecone
|
| 8 |
pc = Pinecone(api_key=PINECONE_SECRET_TOKEN)
|
| 9 |
+
index_name = 'arxiv-index2'
|
| 10 |
# connect to index
|
| 11 |
index = pc.Index(index_name)
|
| 12 |
# get api key from platform.openai.com
|