Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ client = PersistentClient(
|
|
| 29 |
|
| 30 |
collection = client.get_or_create_collection( name="brampton" );
|
| 31 |
|
| 32 |
-
if
|
| 33 |
|
| 34 |
brampton_docs = [
|
| 35 |
# Shopping Centres
|
|
|
|
| 29 |
|
| 30 |
collection = client.get_or_create_collection( name="brampton" );
|
| 31 |
|
| 32 |
+
if collection.count() == 0:
|
| 33 |
|
| 34 |
brampton_docs = [
|
| 35 |
# Shopping Centres
|