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

Any suggestions on avoiding the error when I choose STOP? #40

Open
shawngiese opened this issue May 21, 2023 · 0 comments
Open

Any suggestions on avoiding the error when I choose STOP? #40

shawngiese opened this issue May 21, 2023 · 0 comments

Comments

@shawngiese
Copy link

Currently, choosing stop while the AI is generating a response throws an error similar to:

AttributeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/appuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "/app/st-chat/examples/chatbot.py", line 42, in <module>
    st.session_state.past.append(user_input)
File "/home/appuser/venv/lib/python3.8/site-packages/streamlit/runtime/state/session_state_proxy.py", line 121, in __getattr__
    raise AttributeError(_missing_attr_error_message(key))
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