Spaces:
Runtime error
Runtime error
elfsong
commited on
Commit
·
8efd70a
1
Parent(s):
ec76e7d
Update
Browse files
app.py
CHANGED
@@ -10,8 +10,10 @@ def activate_server():
|
|
10 |
|
11 |
st.title("Lucky Reactor")
|
12 |
|
13 |
-
st.image("cover.jpg", caption='Photo by British Library on Unsplash.')
|
14 |
-
|
15 |
status = get_status()
|
16 |
|
17 |
-
st.
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
st.title("Lucky Reactor")
|
12 |
|
|
|
|
|
13 |
status = get_status()
|
14 |
|
15 |
+
st.image("cover.jpg", caption="Reactor is " + "running 🟢" if status else "sleeping 🔴" + ".")
|
16 |
+
|
17 |
+
if not status:
|
18 |
+
if st.button("Ignite"):
|
19 |
+
st.write("Here you go: [LINK]")
|