St.chat_input bug

:rotating_light: Before clicking “Create Topic”, please make sure your post includes the following information (otherwise, the post will be locked). :rotating_light:

  1. Are you running your app locally or is it deployed?
    deployed
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    b. Share the link to the public deployed app.
    www.luzhishen.chat
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
    st,chat_input alwayas reset the session_state, once I use st._chat_input, just like this:
if prompt:= st.chat_input("xxxxxx",shift+Enter换行",max_chars=16384,key=state['apply_model']):

all page will rerun, not nessary network use, and I still not input anything!
5. Share the Streamlit and Python versions.
1.29 and python 3.9.12

Hi @Hangjun_Ji,

Thanks for posting!

Can you share the code snippet or your GitHub repo so we can troubleshoot this for you?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.