Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,8 +48,7 @@ pc = Pinecone(api_key=api_key)
|
|
| 48 |
|
| 49 |
index_name = "canopy--document-uploader" # Replace with your chosen index name
|
| 50 |
|
| 51 |
-
index =
|
| 52 |
-
|
| 53 |
|
| 54 |
|
| 55 |
# Step 1: Clone the Dataset Repository
|
|
|
|
| 48 |
|
| 49 |
index_name = "canopy--document-uploader" # Replace with your chosen index name
|
| 50 |
|
| 51 |
+
index = pc.Index(name=index_name)
|
|
|
|
| 52 |
|
| 53 |
|
| 54 |
# Step 1: Clone the Dataset Repository
|