broadfield-dev commited on
Commit
0b25cd8
·
verified ·
1 Parent(s): 9dd255d

Update database.py

Browse files
Files changed (1) hide show
  1. database.py +1 -1
database.py CHANGED
@@ -11,7 +11,7 @@ import torch
11
  # User-configurable variables
12
  DB_NAME = "python_programs" # ChromaDB collection name
13
  HF_DATASET_NAME = "python_program_vectors" # Hugging Face Dataset name
14
- HF_TOKEN = "YOUR_HUGGINGFACE_TOKEN" # Replace with your Hugging Face API token
15
  PERSIST_DIR = "./chroma_data" # Directory for persistent storage (optional)
16
 
17
  def init_chromadb(persist_dir=PERSIST_DIR):
 
11
  # User-configurable variables
12
  DB_NAME = "python_programs" # ChromaDB collection name
13
  HF_DATASET_NAME = "python_program_vectors" # Hugging Face Dataset name
14
+ HF_TOKEN = "HF_KEY" # Replace with your Hugging Face API token
15
  PERSIST_DIR = "./chroma_data" # Directory for persistent storage (optional)
16
 
17
  def init_chromadb(persist_dir=PERSIST_DIR):