Spaces:
Sleeping
Sleeping
how about now 2
Browse files
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"):
|