Update app.py
Browse files
app.py
CHANGED
@@ -288,8 +288,6 @@ if prompt := st.chat_input("Ask me anything about finance or investing..."):
|
|
288 |
api_result = call_api_by_name(function_name, **params)
|
289 |
api_context = f"\nHere is the real-time market data from the Indian Stock Market API:\n{json.dumps(api_result, indent=2)}\n\nPlease use this data to provide an informative response to the user's query."
|
290 |
|
291 |
-
# Get Gemini client
|
292 |
-
client = get_gemini_client()
|
293 |
|
294 |
# Prepare the user query with API context if available
|
295 |
user_query = prompt
|
|
|
288 |
api_result = call_api_by_name(function_name, **params)
|
289 |
api_context = f"\nHere is the real-time market data from the Indian Stock Market API:\n{json.dumps(api_result, indent=2)}\n\nPlease use this data to provide an informative response to the user's query."
|
290 |
|
|
|
|
|
291 |
|
292 |
# Prepare the user query with API context if available
|
293 |
user_query = prompt
|