How to use GPIO Raspberry Pi button with Streamlit Web App in Python?

I try to use a physical button in GPIO to click on a button in my streamlit web app but I don’t find any solution, hope someone can help me Thanks
full code

Hi @marcelo,

I can’t make any recommendations on the Raspberry Pi side of this, but you’re missing parentheses when you call start_listening()


Hi @Caroline
Thanks i will check