Spaces:
Running
Running
Update database.py
Browse files- 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 = "
|
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):
|