Tonyxay commited on
Commit
2b61bba
·
verified ·
1 Parent(s): f506554

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ logging.getLogger("chromadb.telemetry.product.posthog").setLevel(logging.CRITICA
50
 
51
  # Resolve the data directory: /data when running inside HF Spaces (bucket mount),
52
  # ./data for local development.
53
- DATA_DIR = Path("/data_V2_PDF_Final") if Path("/data_V2_PDF_Final").is_dir() else Path("./data_V2_PDF_Final")
54
 
55
  CHROMA_PERSIST_DIR = str(DATA_DIR / "chroma_db")
56
  TRAIN_DOCS_DIR = Path("./train_data")
 
50
 
51
  # Resolve the data directory: /data when running inside HF Spaces (bucket mount),
52
  # ./data for local development.
53
+ DATA_DIR = Path("/data_V5") if Path("/data_V5").is_dir() else Path("./data_V5")
54
 
55
  CHROMA_PERSIST_DIR = str(DATA_DIR / "chroma_db")
56
  TRAIN_DOCS_DIR = Path("./train_data")