Spaces:
Runtime error
Runtime error
elfsong
commited on
Commit
ยท
ab64dd3
1
Parent(s):
3dbd480
Update
Browse files
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 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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...")
|