Docfile commited on
Commit
2dd94a5
·
verified ·
1 Parent(s): 7ca0584

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -8,9 +8,10 @@ from crewai import LLM
8
  from typing import List
9
 
10
  # Configuration des clés API
11
- os.environ["GEMINI_API_KEY"] = "AIzaSyD6yZxfVOnh63GXBJjakAupk9aP4CZrgrQ"
12
- os.environ["SERPER_API_KEY"] = "9b90a274d9e704ff5b21c0367f9ae1161779b573"
13
 
 
 
14
  llm = LLM(
15
  model="gemini/gemini-1.5-flash",
16
  temperature=0.7,
 
8
  from typing import List
9
 
10
  # Configuration des clés API
11
+ import os
 
12
 
13
+ os.environ["GEMINI_API_KEY"] = os.environ.get("GEMINI_API_KEY")
14
+ os.environ["SERPER_API_KEY"] = os.environ.get("SERPER_API_KEY")
15
  llm = LLM(
16
  model="gemini/gemini-1.5-flash",
17
  temperature=0.7,