Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ collection = None
|
|
| 19 |
|
| 20 |
print(f"🔄 Connecting to ChromaDB from cloud...")
|
| 21 |
client = chromadb.CloudClient(
|
| 22 |
-
api_key=os.environ.get("chromadb_api_key"
|
| 23 |
-
tenant=os.environ.get("chromadb_tenant"
|
| 24 |
-
database=os.environ.get("chromadb_db"
|
| 25 |
)
|
| 26 |
|
| 27 |
# === COLLECTION VALIDATION ===
|
|
|
|
| 19 |
|
| 20 |
print(f"🔄 Connecting to ChromaDB from cloud...")
|
| 21 |
client = chromadb.CloudClient(
|
| 22 |
+
api_key=os.environ.get("chromadb_api_key"),
|
| 23 |
+
tenant=os.environ.get("chromadb_tenant"),
|
| 24 |
+
database=os.environ.get("chromadb_db")
|
| 25 |
)
|
| 26 |
|
| 27 |
# === COLLECTION VALIDATION ===
|