ALChad commited on
Commit
79da80d
·
verified ·
1 Parent(s): 1eec8d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,9 +25,9 @@ class GaiaLangGraphAgent:
25
  print("Initializing GaiaLangGraphAgent...")
26
  load_dotenv()
27
 
28
- google_api_key = os.getenv("GOOGLE_API_KEY")
29
  if not google_api_key:
30
- raise ValueError("GOOGLE_API_KEY secret not found. Please set it in your Hugging Face Space settings.")
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