Spaces:
Runtime error
Runtime error
elfsong
commited on
Commit
·
591a7c6
1
Parent(s):
a9fd452
Update
Browse files
app.py
CHANGED
@@ -38,14 +38,8 @@ st.image("cover.jpg", caption="Lucky Reactor is currently " + ("running 🚀" if
|
|
38 |
|
39 |
if not status:
|
40 |
with st.form("my_form"):
|
41 |
-
token = st.text_input("Token")
|
42 |
-
|
43 |
-
col1, col2 = st.columns(2)
|
44 |
-
|
45 |
-
with col1:
|
46 |
-
submitted = st.form_submit_button("Ignite")
|
47 |
-
with col2:
|
48 |
-
st.write("FYI: The reactor costs USD $10 per hour to operate.")
|
49 |
|
50 |
if submitted and token == os.getenv("EASY_TOKEN"):
|
51 |
st.write("Lucky Reactor has been ignited. Please wait a few minutes (3~5) to preceed...")
|
|
|
38 |
|
39 |
if not status:
|
40 |
with st.form("my_form"):
|
41 |
+
token = st.text_input("Token (FYI: The reactor costs USD $10 per hour to operate)")
|
42 |
+
submitted = st.form_submit_button("Ignite")
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
if submitted and token == os.getenv("EASY_TOKEN"):
|
45 |
st.write("Lucky Reactor has been ignited. Please wait a few minutes (3~5) to preceed...")
|