elfsong commited on
Commit
ec76e7d
β€’
1 Parent(s): 83fc470
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -1,3 +1,17 @@
1
  import streamlit as st
2
 
3
- st.image("cover.jpg", caption='Photo by British Library on Unsplash.')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
 
3
+
4
+ def get_status():
5
+ return True
6
+
7
+ def activate_server():
8
+ return True
9
+
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.markdown("Reactor is " + "running 🟒" if status else "sleeping πŸ”΄" + ".")