Spaces:
Runtime error
Runtime error
add default credentials
Browse files
app.py
CHANGED
@@ -16,15 +16,15 @@ import streamlit as st
|
|
16 |
st.title("Digital Pipette Control Panel")
|
17 |
|
18 |
# MQTT Configuration
|
19 |
-
HIVEMQ_HOST = st.text_input("Enter your HiveMQ host:", "", type="password")
|
20 |
-
HIVEMQ_USERNAME = st.text_input("Enter your HiveMQ username:", "")
|
21 |
-
HIVEMQ_PASSWORD = st.text_input("Enter your HiveMQ password:", "", type="password")
|
22 |
PORT = st.number_input(
|
23 |
"Enter the port number:", min_value=1, max_value=65535, value=8883
|
24 |
)
|
25 |
|
26 |
# User input for the Pico ID
|
27 |
-
pico_id = st.text_input("Enter your Pico ID:", "", type="password")
|
28 |
|
29 |
# Slider for position value
|
30 |
position = st.slider(
|
|
|
16 |
st.title("Digital Pipette Control Panel")
|
17 |
|
18 |
# MQTT Configuration
|
19 |
+
HIVEMQ_HOST = st.text_input("Enter your HiveMQ host:", "248cc294c37642359297f75b7b023374.s2.eu.hivemq.cloud", type="password")
|
20 |
+
HIVEMQ_USERNAME = st.text_input("Enter your HiveMQ username:", "sgbaird")
|
21 |
+
HIVEMQ_PASSWORD = st.text_input("Enter your HiveMQ password:", "D.Pq5gYtejYbU#L", type="password")
|
22 |
PORT = st.number_input(
|
23 |
"Enter the port number:", min_value=1, max_value=65535, value=8883
|
24 |
)
|
25 |
|
26 |
# User input for the Pico ID
|
27 |
+
pico_id = st.text_input("Enter your Pico ID:", "test-pipette", type="password")
|
28 |
|
29 |
# Slider for position value
|
30 |
position = st.slider(
|