From 3aa4c6749b47245d86fd57b4aa0e94d508f82806 Mon Sep 17 00:00:00 2001 From: Irina Rueegg Date: Thu, 9 Apr 2026 17:24:29 +0200 Subject: [PATCH] Chat as first choice --- frontend/app.py | 9 --------- frontend/sidebar.py | 4 +--- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/frontend/app.py b/frontend/app.py index ead9ab9..181aa32 100644 --- a/frontend/app.py +++ b/frontend/app.py @@ -29,14 +29,5 @@ def main(): elif st.session_state.get("radio_interface_options") == "Chat with AI Assistant": render_chat() - - #show_editor = st.session_state.get("show_Editor", False) - #show_chat = st.session_state.get("show_Chat", False) - # - #if show_editor: - # render_editor() - #if show_chat: - # render_chat() - if __name__ == "__main__": main() diff --git a/frontend/sidebar.py b/frontend/sidebar.py index 73003ae..65cc6a1 100644 --- a/frontend/sidebar.py +++ b/frontend/sidebar.py @@ -72,11 +72,9 @@ def render_sidebar(): with navigation_section: st.subheader("Options") - #st.checkbox("Code Editor", key="show_Editor") - #st.checkbox("Chat with AI Assistant", key="show_Chat") st.radio( "Action", - ["Code Editor", "Chat with AI Assistant"], + ["Chat with AI Assistant", "Code Editor"], key=f"radio_interface_options") st.markdown("---")