refactor: Improve code readability and performance in app.py
Browse files
app.py
CHANGED
|
@@ -17,10 +17,18 @@ st.title("Light-mixing Control Panel")
|
|
| 17 |
# Description and context
|
| 18 |
st.markdown(
|
| 19 |
"""
|
| 20 |
-
This application accesses a public test demo
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"""
|
| 25 |
)
|
| 26 |
|
|
|
|
| 17 |
# Description and context
|
| 18 |
st.markdown(
|
| 19 |
"""
|
| 20 |
+
This application accesses a public test demo of a "light-mixer" located in
|
| 21 |
+
Toronto, ON, Canada (as of 2024-07-27). Send RGB commands to a NeoPixel LED and
|
| 22 |
+
visualize the spectral sensor data from an AS7341 sensor.
|
| 23 |
+
|
| 24 |
+
For more context, you
|
| 25 |
+
can refer to this [Colab
|
| 26 |
+
notebook](https://colab.research.google.com/github/sparks-baird/self-driving-lab-demo/blob/main/notebooks/4.2-paho-mqtt-colab-sdl-demo-test.ipynb)
|
| 27 |
+
and the [self-driving-lab-demo
|
| 28 |
+
project](https://github.com/sparks-baird/self-driving-lab-demo). You may also be
|
| 29 |
+
interested in the Acceleration Consortium's ["Hello World"
|
| 30 |
+
microcourse](https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/index.html)
|
| 31 |
+
for self-driving labs.
|
| 32 |
"""
|
| 33 |
)
|
| 34 |
|