Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to disable st.chat_input while writing the model's response #74

Open
pipisjy opened this issue Mar 26, 2024 · 0 comments
Open

Comments

@pipisjy
Copy link

pipisjy commented Mar 26, 2024

When a user enters a prompt in st.chat_input, it is not possible to disable the input while an LLM is generating the response to that input.

This leads to the possibility of the user 'interrupting' the model output and messing up the conversation structure.

I've tried binding the disable argument to a variable inside the st.session_state, but it does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant