Spaces:
Build error
Build error
Update ragagent.py
Browse files- ragagent.py +1 -1
ragagent.py
CHANGED
|
@@ -104,7 +104,7 @@ class RAGAgent():
|
|
| 104 |
# If it exists, delete the existing collection
|
| 105 |
collection = client.get_collection(collection_name)
|
| 106 |
client.delete_collection(collection_name)
|
| 107 |
-
except
|
| 108 |
pass
|
| 109 |
|
| 110 |
collection = client.create_collection(collection_name)
|
|
|
|
| 104 |
# If it exists, delete the existing collection
|
| 105 |
collection = client.get_collection(collection_name)
|
| 106 |
client.delete_collection(collection_name)
|
| 107 |
+
except:
|
| 108 |
pass
|
| 109 |
|
| 110 |
collection = client.create_collection(collection_name)
|