From 707286509c153dd0a59bdb1c30ceae1f3d40fde6 Mon Sep 17 00:00:00 2001 From: Alexander Metzger Date: Tue, 5 Mar 2024 20:59:13 -0800 Subject: [PATCH] reorder settings --- recipes/VideoBots.py | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/recipes/VideoBots.py b/recipes/VideoBots.py index 44c0a9990..a39a1d7e1 100644 --- a/recipes/VideoBots.py +++ b/recipes/VideoBots.py @@ -1284,17 +1284,6 @@ def integration_test_config_screen( # "Add a Gooey.AI LLM prompt to automatically analyse and categorize user messages. [Example](https://gooey.ai/compare-large-language-models/how-farmerchat-turns-conversations-to-structured-data/?example_id=lbjnoem7) and [Guide](https://gooey.ai/docs/guides/copilot/conversation-analysis)." # ) - col1, col2 = st.columns(2, style={"align-items": "center"}) - with col1: - st.write("###### Add Integration") - st.caption(f"Add another connection for {run_title}.") - with col2: - if st.button( - f'   Add Integration', - key="btn_connect", - ): - raise RedirectException(add_integration) - if bi.platform == Platform.WHATSAPP and bi.wa_business_waba_id: col1, col2 = st.columns(2, style={"align-items": "center"}) with col1: @@ -1313,11 +1302,17 @@ def integration_test_config_screen( f"https://business.facebook.com/wa/manage/home/?waba_id={bi.wa_business_waba_id}", new_tab=True, ) - st.anchor( - "Phone Numbers", - "https://business.facebook.com/wa/manage/phone-numbers", - new_tab=True, - ) + + col1, col2 = st.columns(2, style={"align-items": "center"}) + with col1: + st.write("###### Add Integration") + st.caption(f"Add another connection for {run_title}.") + with col2: + if st.button( + f'   Add Integration', + key="btn_connect", + ): + raise RedirectException(add_integration) with st.expander("Configure Settings 🛠️"): if bi.platform == Platform.SLACK: