Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,8 +57,8 @@ from datetime import datetime
|
|
| 57 |
# Fetch secrets from Hugging Face Spaces
|
| 58 |
api_key = os.getenv("API_KEY")
|
| 59 |
endpoint = os.getenv("OPENAI_API_BASE")
|
| 60 |
-
llama_api_key = os.getenv
|
| 61 |
-
MEM0_api_key = os.getenv
|
| 62 |
|
| 63 |
# Initialize the OpenAI embedding function for Chroma
|
| 64 |
embedding_function = chromadb.utils.embedding_functions.OpenAIEmbeddingFunction(
|
|
|
|
| 57 |
# Fetch secrets from Hugging Face Spaces
|
| 58 |
api_key = os.getenv("API_KEY")
|
| 59 |
endpoint = os.getenv("OPENAI_API_BASE")
|
| 60 |
+
llama_api_key = os.getenv("GROQ_API_KEY")
|
| 61 |
+
MEM0_api_key = os.getenv("mem0")
|
| 62 |
|
| 63 |
# Initialize the OpenAI embedding function for Chroma
|
| 64 |
embedding_function = chromadb.utils.embedding_functions.OpenAIEmbeddingFunction(
|