Spaces:
Sleeping
Sleeping
jeremierostan
commited on
Commit
•
4125195
1
Parent(s):
2149cba
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import tempfile
|
|
14 |
def initialize_apis(google_api_key: str, tavily_api_key: str):
|
15 |
"""Initialize the APIs with provided keys."""
|
16 |
genai.configure(api_key=google_api_key)
|
17 |
-
model = genai.GenerativeModel('gemini-1.5-
|
18 |
tavily = TavilyClient(api_key=tavily_api_key)
|
19 |
return model, tavily
|
20 |
|
|
|
14 |
def initialize_apis(google_api_key: str, tavily_api_key: str):
|
15 |
"""Initialize the APIs with provided keys."""
|
16 |
genai.configure(api_key=google_api_key)
|
17 |
+
model = genai.GenerativeModel('gemini-1.5-flash-latest')
|
18 |
tavily = TavilyClient(api_key=tavily_api_key)
|
19 |
return model, tavily
|
20 |
|