Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def delete_index_namespace():
|
|
173 |
print("index_current:"+str(index_current))
|
174 |
print("index_status:"+str(index_status))
|
175 |
print("namespace:"+namespace)
|
176 |
-
index_namespace_to_delete = pinecone.Index(index_name=
|
177 |
index_namespace_to_delete.delete(delete_all=True, namespace=namespace)
|
178 |
print("Pinecone Index Namespace: "+namespace+" has been deleted!")
|
179 |
print("****************End of Namespace Deletion*******************")
|
|
|
173 |
print("index_current:"+str(index_current))
|
174 |
print("index_status:"+str(index_status))
|
175 |
print("namespace:"+namespace)
|
176 |
+
index_namespace_to_delete = pinecone.Index(index_name=index_name)
|
177 |
index_namespace_to_delete.delete(delete_all=True, namespace=namespace)
|
178 |
print("Pinecone Index Namespace: "+namespace+" has been deleted!")
|
179 |
print("****************End of Namespace Deletion*******************")
|