Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,6 +26,7 @@ client = chromadb.CloudClient(
|
|
| 26 |
# === COLLECTION VALIDATION ===
|
| 27 |
# Ensure the required collection exists and has data
|
| 28 |
try:
|
|
|
|
| 29 |
collection = client.get_collection(config.COLLECTION_NAME)
|
| 30 |
doc_count = collection.count()
|
| 31 |
|
|
|
|
| 26 |
# === COLLECTION VALIDATION ===
|
| 27 |
# Ensure the required collection exists and has data
|
| 28 |
try:
|
| 29 |
+
print(f"config collection: {config.COLLECTION_NAME} {database} {tenant} {api_key}")
|
| 30 |
collection = client.get_collection(config.COLLECTION_NAME)
|
| 31 |
doc_count = collection.count()
|
| 32 |
|