Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def drop_namespace(arg):
|
|
55 |
pass
|
56 |
print("Maintained Namespace: " + conf["embeddings"]["demo_namespace"])
|
57 |
else:
|
58 |
-
namecheck =
|
59 |
if namecheck:
|
60 |
pc = pc_connector._connection()
|
61 |
pc.delete(namespace=arg, delete_all=True)
|
|
|
55 |
pass
|
56 |
print("Maintained Namespace: " + conf["embeddings"]["demo_namespace"])
|
57 |
else:
|
58 |
+
namecheck = namespace_check(arg)
|
59 |
if namecheck:
|
60 |
pc = pc_connector._connection()
|
61 |
pc.delete(namespace=arg, delete_all=True)
|