Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ from langchain.schema import Document
|
|
| 12 |
from langchain_groq import ChatGroq
|
| 13 |
|
| 14 |
# --- Environment Variables ---
|
| 15 |
-
|
| 16 |
-
|
| 17 |
|
| 18 |
# --- Initialize Groq LLM ---
|
| 19 |
# llm = GroqLLM(
|
|
|
|
| 12 |
from langchain_groq import ChatGroq
|
| 13 |
|
| 14 |
# --- Environment Variables ---
|
| 15 |
+
GROQ_API_KEY = os.getenv("GROQ_API_KEY", "your-groq-api-key")
|
| 16 |
+
HUGGINGFACE_API_KEY = os.getenv("HUGGINGFACE_API_KEY", "your-huggingface-api-key")
|
| 17 |
|
| 18 |
# --- Initialize Groq LLM ---
|
| 19 |
# llm = GroqLLM(
|