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_KEY = "
|
15 |
PERSIST_DIR = "./chroma_data" # Directory for persistent storage (optional)
|
16 |
USE_GPU = False # Default to CPU, set to True for GPU if available
|
17 |
|
|
|
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_KEY = "HF_KEY" # Replace with your Hugging Face API token
|
15 |
PERSIST_DIR = "./chroma_data" # Directory for persistent storage (optional)
|
16 |
USE_GPU = False # Default to CPU, set to True for GPU if available
|
17 |
|