-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
27 lines (23 loc) · 1.01 KB
/
config.example.yaml
File metadata and controls
27 lines (23 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TextileSearchApp configuration template
# Copy to config.yaml and set paths for your environment.
# Any value can be overridden by environment variables (see README).
# Data paths (required for indexing and search)
paths:
# Directory containing thumbnail images (JPG/PNG). Scanned recursively.
thumbnails_dir: "/mnt/c/karnika/karniPics/Designs_thumb"
# Directory containing original TIF files (optional). If empty, results show thumbnail filename only.
tifs_dir: "/mnt/c/karnika/karniPics/dummy_tifs"
# Index and app paths (relative to project root, or absolute)
index:
# FAISS index file (created by indexer)
index_path: "data/faiss_index.bin"
# Metadata .npy file (thumbnail ↔ TIF mapping)
metadata_path: "data/metadata.npy"
# Unused; image search uses a temp file (deleted after each query)
upload_folder: "backend/uploads"
# Optional: local CLIP model file (avoids download). Leave null to use default.
# clip_model_path: null
# Server (used when running app.py)
server:
host: "0.0.0.0"
port: 8000