Spaces:
Running
Running
Commit
·
06c9234
1
Parent(s):
962597f
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ ip_address = socket.gethostbyname(hostname)
|
|
20 |
application = Flask(__name__)
|
21 |
|
22 |
def _is_running(kangas=False, streamlit=False):
|
23 |
-
output = subprocess.check_output(['ps', '-A'])
|
24 |
application.logger.info(f"{output}")
|
25 |
running = False
|
26 |
if kangas is True:
|
|
|
20 |
application = Flask(__name__)
|
21 |
|
22 |
def _is_running(kangas=False, streamlit=False):
|
23 |
+
output = subprocess.check_output(['ps', '-A']).decode('utf-8')
|
24 |
application.logger.info(f"{output}")
|
25 |
running = False
|
26 |
if kangas is True:
|