gursi26 commited on
Commit
4652dbc
·
1 Parent(s): d414f4c

how about now 2

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -121,6 +121,7 @@ if "client" not in st.session_state:
121
  PORT,
122
  DEVICE_ID
123
  )
 
124
 
125
  with st.form("mqtt_form"):
126
  if st.form_submit_button("Send Command"):
 
121
  PORT,
122
  DEVICE_ID
123
  )
124
+ st.session_state.client.loop_start()
125
 
126
  with st.form("mqtt_form"):
127
  if st.form_submit_button("Send Command"):