fix chroma download check
Browse files
ui/app.py
CHANGED
|
@@ -15,7 +15,7 @@ import random
|
|
| 15 |
import os
|
| 16 |
from huggingface_hub import snapshot_download
|
| 17 |
|
| 18 |
-
if not os.path.exists("data/chroma_db"):
|
| 19 |
os.makedirs("data", exist_ok=True)
|
| 20 |
snapshot_download(
|
| 21 |
repo_id="Daudipdg/iroh-chroma-db",
|
|
|
|
| 15 |
import os
|
| 16 |
from huggingface_hub import snapshot_download
|
| 17 |
|
| 18 |
+
if not os.path.exists("data/chroma_db/chroma.sqlite3"):
|
| 19 |
os.makedirs("data", exist_ok=True)
|
| 20 |
snapshot_download(
|
| 21 |
repo_id="Daudipdg/iroh-chroma-db",
|