diff --git a/chat.py b/chat.py
index 4f6520a..669923c 100644
--- a/chat.py
+++ b/chat.py
@@ -97,7 +97,6 @@ if __name__ == "__main__":
case _:
st.session_state.locale = en
st.markdown(f"
{st.session_state.locale.title}
", unsafe_allow_html=True)
- st.markdown("---")
selected_footer = option_menu(
menu_title=None,
options=[
@@ -111,7 +110,6 @@ if __name__ == "__main__":
orientation="horizontal",
styles=FOOTER_STYLES
)
- st.markdown("---")
match selected_footer:
case st.session_state.locale.footer_option0:
main()
diff --git a/src/utils/stt.py b/src/utils/stt.py
index 57bc20c..96a9e77 100644
--- a/src/utils/stt.py
+++ b/src/utils/stt.py
@@ -67,15 +67,15 @@ def show_voice_input() -> None:
st.session_state.input = {"text": "", "session": 0}
result = get_bokeh_result()
tr = st.empty()
- tr.text_area("TEST", value=st.session_state.input["text"])
+ tr.code(st.session_state.input["text"])
if result:
if "GET_TEXT" in result and (
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"]
- tr.text_area("TEST", value=st.session_state.input["text"])
+ tr.code(st.session_state.input["text"])
st.session_state.input["session"] = result.get("GET_TEXT")["s"]
if "GET_INTRM" in result and result.get("GET_INTRM") != "":
- tr.text_area("TEST", value=st.session_state.input["text"] + " " + result.get("GET_INTRM"))
+ tr.code(st.session_state.input["text"] + " " + result.get("GET_INTRM"))
if "GET_ONREC" in result:
if result.get("GET_ONREC") == "start":
st.image(REC_GIF)