Chat as first choice
This commit is contained in:
parent
8fef52bedb
commit
3aa4c6749b
@ -29,14 +29,5 @@ def main():
|
|||||||
elif st.session_state.get("radio_interface_options") == "Chat with AI Assistant":
|
elif st.session_state.get("radio_interface_options") == "Chat with AI Assistant":
|
||||||
render_chat()
|
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__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
@ -72,11 +72,9 @@ def render_sidebar():
|
|||||||
|
|
||||||
with navigation_section:
|
with navigation_section:
|
||||||
st.subheader("Options")
|
st.subheader("Options")
|
||||||
#st.checkbox("Code Editor", key="show_Editor")
|
|
||||||
#st.checkbox("Chat with AI Assistant", key="show_Chat")
|
|
||||||
st.radio(
|
st.radio(
|
||||||
"Action",
|
"Action",
|
||||||
["Code Editor", "Chat with AI Assistant"],
|
["Chat with AI Assistant", "Code Editor"],
|
||||||
key=f"radio_interface_options")
|
key=f"radio_interface_options")
|
||||||
|
|
||||||
st.markdown("---")
|
st.markdown("---")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user