Chatgpt chat requires double entry of message when deployed to streamlit cloud

When I run my app locally it works great. When I deploy it to Streamlit, I need to enter my message to chatgpt twice before it processes it. The first message doesn’t even appear on the screen, which is should before going to the api. I have a feeling it might be with how state is being handled when hosted…

Anyone else have this kind of issue?

Hey @rev,

Thanks for sharing this question. Can you share a link to your deployed app and GitHub repo so we can take a look?

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