Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ st.set_page_config(
|
|
17 |
|
18 |
# Initialize Gemini client
|
19 |
api_key = st.secrets["GOOGLE_API_KEY"]
|
20 |
-
genai.Client(api_key=api_key)
|
21 |
|
22 |
# Indian Stock Market API base configuration
|
23 |
INDIAN_API_KEY = st.secrets["FINANCE_KEY"]
|
@@ -180,10 +180,7 @@ def orchestrator(query):
|
|
180 |
}
|
181 |
}
|
182 |
"""
|
183 |
-
|
184 |
-
# Call Gemini API for orchestration decision
|
185 |
-
client = get_gemini_client()
|
186 |
-
|
187 |
# Create content for the orchestrator
|
188 |
contents = [
|
189 |
types.Content(
|
|
|
17 |
|
18 |
# Initialize Gemini client
|
19 |
api_key = st.secrets["GOOGLE_API_KEY"]
|
20 |
+
client = genai.Client(api_key=api_key)
|
21 |
|
22 |
# Indian Stock Market API base configuration
|
23 |
INDIAN_API_KEY = st.secrets["FINANCE_KEY"]
|
|
|
180 |
}
|
181 |
}
|
182 |
"""
|
183 |
+
|
|
|
|
|
|
|
184 |
# Create content for the orchestrator
|
185 |
contents = [
|
186 |
types.Content(
|