elfsong commited on
Commit
ab64dd3
ยท
1 Parent(s): 3dbd480
Files changed (1) hide show
  1. app.py +11 -4
app.py CHANGED
@@ -34,7 +34,14 @@ status = get_status(credentials)
34
  st.image("cover.jpg", caption="Reactor is currently " + ("running ๐Ÿš€" if status else "sleeping ๐Ÿ˜ด") + ".")
35
 
36
  if not status:
37
- col1, col2, col3 = st.beta_columns([1,1,1])
38
- with col2:
39
- if st.button("Ignite", use_container_width=True):
40
- st.write("Here you go: [LINK]")
 
 
 
 
 
 
 
 
34
  st.image("cover.jpg", caption="Reactor is currently " + ("running ๐Ÿš€" if status else "sleeping ๐Ÿ˜ด") + ".")
35
 
36
  if not status:
37
+ # col1, col2, col3 = st.beta_columns([1,1,1])
38
+ # with col2:
39
+ # if st.button("Ignite", use_container_width=True):
40
+ # st.write("Here you go: [LINK]")
41
+
42
+ with st.form("my_form"):
43
+ token = st.text_input("token")
44
+ submitted = st.form_submit_button("Ignite")
45
+
46
+ if submitted:
47
+ st.write("Lucky Reactor has been ignited. Please wait a couple of minutes...")