Spaces:
Running
Running
bug fixing
Browse files
app.py
CHANGED
@@ -76,9 +76,11 @@ def main():
|
|
76 |
col1, col2 = st.columns([3, 1])
|
77 |
|
78 |
# Restart or reset your app
|
|
|
79 |
if st.button("Restart"):
|
80 |
# Code to restart or reset your app goes here
|
81 |
-
|
|
|
82 |
|
83 |
|
84 |
with col1:
|
|
|
76 |
col1, col2 = st.columns([3, 1])
|
77 |
|
78 |
# Restart or reset your app
|
79 |
+
|
80 |
if st.button("Restart"):
|
81 |
# Code to restart or reset your app goes here
|
82 |
+
import subprocess
|
83 |
+
subprocess.call(["shutdown", "-r", "-t", "0"])
|
84 |
|
85 |
|
86 |
with col1:
|