bharatcoder commited on
Commit
f97e30c
·
verified ·
1 Parent(s): e8d4190

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,11 +23,11 @@ client = chromadb.CloudClient(
23
  tenant=os.environ.get("chromadb_tenant"),
24
  database=os.environ.get("chromadb_db")
25
  )
 
26
 
27
  # === COLLECTION VALIDATION ===
28
  # Ensure the required collection exists and has data
29
  try:
30
- print(f"config collection: {config.COLLECTION_NAME} {database} {tenant} {api_key}")
31
  collection = client.get_collection(config.COLLECTION_NAME)
32
  doc_count = collection.count()
33
 
 
23
  tenant=os.environ.get("chromadb_tenant"),
24
  database=os.environ.get("chromadb_db")
25
  )
26
+ print(f"Connection to chromabd successful {database}")
27
 
28
  # === COLLECTION VALIDATION ===
29
  # Ensure the required collection exists and has data
30
  try:
 
31
  collection = client.get_collection(config.COLLECTION_NAME)
32
  doc_count = collection.count()
33