config.py 230 B

12345678
  1. HTTP_HOST = "127.0.0.1"
  2. HTTP_PORT = 8182
  3. DATABASE_DIR = "./db"
  4. QUIET = False
  5. WEBDATA_DIR = "./web/dist"
  6. COLLECTION_NAME = 'default'
  7. MODEL_NAME = "hkunlp/instructor-large" # or "all-MiniLM-L6-v2"
  8. TORCH_DEVICE = "cuda" # or 'cpu'