DaudiAI commited on
Commit
eeeb46d
·
1 Parent(s): 167a6af

fix chroma download check

Browse files
Files changed (1) hide show
  1. ui/app.py +1 -1
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",