conversation: hotfix

This commit is contained in:
if 2023-04-08 11:52:09 +03:00
parent 40b05641fe
commit 9064983349

View File

@ -23,12 +23,9 @@ def show_text_input() -> None:
def get_user_input(): def get_user_input():
match st.session_state.input_kind: match st.session_state.input_kind:
case st.session_state.locale.input_kind_1: case st.session_state.locale.input_kind_1:
clear_chat()
show_text_input() show_text_input()
case st.session_state.locale.input_kind_2: case st.session_state.locale.input_kind_2:
clear_chat()
show_voice_input() show_voice_input()
show_text_input()
case _: case _:
show_text_input() show_text_input()