Spaces:
Sleeping
Sleeping
Adding keys to app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,8 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
|
| 18 |
# (Keep Constants as is)
|
| 19 |
# --- Constants ---
|
| 20 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# --- Basic Agent Definition ---
|
| 23 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
|
|
|
| 18 |
# (Keep Constants as is)
|
| 19 |
# --- Constants ---
|
| 20 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 21 |
+
OPENAI_KEY=os.environ.get("OPENAI_KEY")
|
| 22 |
+
SERPER_API_KEY = os.environ.get("SERPER_API_KEY")
|
| 23 |
|
| 24 |
# --- Basic Agent Definition ---
|
| 25 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|