voice input [test mode]: fix clearing input

This commit is contained in:
if 2023-04-08 15:16:23 +03:00
parent 52bca17d21
commit 4ffd4f18c2

View File

@ -84,3 +84,4 @@ def show_voice_input() -> None:
st.image(REC_GIF)
elif result.get("GET_ONREC") == "stop" and st.session_state.input["text"] != "":
st.session_state.user_text = st.session_state.input["text"]
st.session_state.input["text"] = ""