Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ with st.sidebar:
|
|
210 |
st.session_state.end_date = end_date.strftime("%Y-%m-%d")
|
211 |
|
212 |
st.divider()
|
213 |
-
st.button("Start Analysis 🚀",
|
214 |
|
215 |
# ===========================
|
216 |
# Main Chat Interface
|
|
|
210 |
st.session_state.end_date = end_date.strftime("%Y-%m-%d")
|
211 |
|
212 |
st.divider()
|
213 |
+
st.button("Start Analysis 🚀", on_click=lambda: asyncio.run(start_analysis())) # Here we use asyncio.run()
|
214 |
|
215 |
# ===========================
|
216 |
# Main Chat Interface
|