Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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,
|