Synced repo using 'sync_with_huggingface' Github Action
Browse files- decrypt_chroma.py +1 -1
- encrypt_chroma.py +2 -2
decrypt_chroma.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
from cryptography.fernet import Fernet
|
3 |
|
4 |
KEY_FILE = "chroma_key.key"
|
5 |
-
CHROMA_PATH = "chroma_db"
|
6 |
|
7 |
def decrypt_chroma_files():
|
8 |
# Load key
|
|
|
2 |
from cryptography.fernet import Fernet
|
3 |
|
4 |
KEY_FILE = "chroma_key.key"
|
5 |
+
CHROMA_PATH = "app/chroma_db"
|
6 |
|
7 |
def decrypt_chroma_files():
|
8 |
# Load key
|
encrypt_chroma.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import os
|
2 |
from cryptography.fernet import Fernet
|
3 |
|
4 |
-
KEY_FILE = "chroma_key.key"
|
5 |
-
CHROMA_PATH = "chroma_db"
|
6 |
|
7 |
# Generate the key if it doesn't exist
|
8 |
if not os.path.exists(KEY_FILE):
|
|
|
1 |
import os
|
2 |
from cryptography.fernet import Fernet
|
3 |
|
4 |
+
KEY_FILE = "app/chroma_key.key"
|
5 |
+
CHROMA_PATH = "app/chroma_db"
|
6 |
|
7 |
# Generate the key if it doesn't exist
|
8 |
if not os.path.exists(KEY_FILE):
|