Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,13 +21,15 @@ if input_mode == "🎤 Voice":
|
|
21 |
elif input_mode == "⌨️ Text":
|
22 |
user_query = st.text_input("Ask your market question", "What’s our risk exposure in Asia tech stocks today, and highlight any earnings surprises?")
|
23 |
|
|
|
|
|
24 |
# LOGIC
|
25 |
if st.button("Get Market Brief"):
|
26 |
if user_query.strip() == "":
|
27 |
st.warning("Please provide a valid question.")
|
28 |
else:
|
29 |
# get data from agents
|
30 |
-
asia_risk = get_asia_tech_risk()
|
31 |
earnings = get_earnings_news()
|
32 |
aum = get_aum_change()
|
33 |
earnings_summary_text = earnings_summary()
|
|
|
21 |
elif input_mode == "⌨️ Text":
|
22 |
user_query = st.text_input("Ask your market question", "What’s our risk exposure in Asia tech stocks today, and highlight any earnings surprises?")
|
23 |
|
24 |
+
|
25 |
+
|
26 |
# LOGIC
|
27 |
if st.button("Get Market Brief"):
|
28 |
if user_query.strip() == "":
|
29 |
st.warning("Please provide a valid question.")
|
30 |
else:
|
31 |
# get data from agents
|
32 |
+
asia_risk = get_asia_tech_risk(['TSM', 'SSNLF'])
|
33 |
earnings = get_earnings_news()
|
34 |
aum = get_aum_change()
|
35 |
earnings_summary_text = earnings_summary()
|