Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def main():
|
|
| 52 |
if st.button("Run Agent") and query:
|
| 53 |
# Initialize LLM with max_retries at the model level
|
| 54 |
llm = ChatGoogleGenerativeAI(
|
| 55 |
-
model="gemini-
|
| 56 |
google_api_key=GEMINI_API_KEY,
|
| 57 |
temperature=0,
|
| 58 |
max_retries=6, # LangChain's built-in retry logic
|
|
|
|
| 52 |
if st.button("Run Agent") and query:
|
| 53 |
# Initialize LLM with max_retries at the model level
|
| 54 |
llm = ChatGoogleGenerativeAI(
|
| 55 |
+
model="gemini-2.5-flash-native-audio-dialog",
|
| 56 |
google_api_key=GEMINI_API_KEY,
|
| 57 |
temperature=0,
|
| 58 |
max_retries=6, # LangChain's built-in retry logic
|