voice input [test mode]: fix clearing input
This commit is contained in:
parent
52bca17d21
commit
4ffd4f18c2
@ -84,3 +84,4 @@ def show_voice_input() -> None:
|
|||||||
st.image(REC_GIF)
|
st.image(REC_GIF)
|
||||||
elif result.get("GET_ONREC") == "stop" and st.session_state.input["text"] != "":
|
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.user_text = st.session_state.input["text"]
|
||||||
|
st.session_state.input["text"] = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user