voice input [test mode]: show voice input
This commit is contained in:
parent
9064983349
commit
1e960c31b5
@ -71,6 +71,8 @@ def show_voice_input() -> None:
|
|||||||
if result.get("GET_TEXT")["t"] != "" and result.get("GET_TEXT")["s"] != st.session_state.input["session"]:
|
if result.get("GET_TEXT")["t"] != "" and result.get("GET_TEXT")["s"] != st.session_state.input["session"]:
|
||||||
st.session_state.input["text"] = result.get("GET_TEXT")["t"]
|
st.session_state.input["text"] = result.get("GET_TEXT")["t"]
|
||||||
st.session_state.input["session"] = result.get("GET_TEXT")["s"]
|
st.session_state.input["session"] = result.get("GET_TEXT")["s"]
|
||||||
|
if "GET_INTRM" in result and result.get("GET_INTRM") != "":
|
||||||
|
st.code(st.session_state.input["text"] + " " + result.get("GET_INTRM"))
|
||||||
if "GET_ONREC" in result:
|
if "GET_ONREC" in result:
|
||||||
placeholder = st.container()
|
placeholder = st.container()
|
||||||
if result.get("GET_ONREC") == "start":
|
if result.get("GET_ONREC") == "start":
|
||||||
|
Loading…
Reference in New Issue
Block a user