Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ class GaiaLangGraphAgent:
|
|
25 |
print("Initializing GaiaLangGraphAgent...")
|
26 |
load_dotenv()
|
27 |
|
28 |
-
google_api_key = os.getenv("
|
29 |
if not google_api_key:
|
30 |
-
raise ValueError("
|
31 |
|
32 |
class AgentState(TypedDict):
|
33 |
question: str
|
|
|
25 |
print("Initializing GaiaLangGraphAgent...")
|
26 |
load_dotenv()
|
27 |
|
28 |
+
google_api_key = os.getenv("GEMINI_API_KEY")
|
29 |
if not google_api_key:
|
30 |
+
raise ValueError("GEMINI_API_KEY secret not found. Please set it in your Hugging Face Space settings.")
|
31 |
|
32 |
class AgentState(TypedDict):
|
33 |
question: str
|