Elfsong commited on
Commit
077701b
·
verified ·
1 Parent(s): 7a9f43d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -97,13 +97,5 @@ elif status == 'RUNNING':
97
  if terminated_btn and token == os.getenv("EASY_TOKEN"):
98
  st.write("Lucky Reactor has been terminated.")
99
  response = deactivate_server(credentials, instance_name)
100
-
101
- with st.form("extend_form"):
102
- token = st.text_input("Token")
103
- extend_btn = st.form_submit_button("Extend 🕊️")
104
-
105
- if extend_btn and token == os.getenv("EASY_TOKEN"):
106
- st.write("Lucky Reactor has been extended.")
107
- response = schedule_server(credentials, instance_name, 1)
108
  else:
109
  st.write(f"Server is [{status}]. Please wait...")
 
97
  if terminated_btn and token == os.getenv("EASY_TOKEN"):
98
  st.write("Lucky Reactor has been terminated.")
99
  response = deactivate_server(credentials, instance_name)
 
 
 
 
 
 
 
 
100
  else:
101
  st.write(f"Server is [{status}]. Please wait...")