Spaces:
Paused
Paused
rodrigomasini
commited on
Commit
•
dd8bf51
1
Parent(s):
da8d0db
Update app_v3.py
Browse files
app_v3.py
CHANGED
@@ -58,10 +58,7 @@ def run():
|
|
58 |
output = subprocess.check_output(["nvidia-smi"], text=True)
|
59 |
except FileNotFoundError:
|
60 |
output = subprocess.check_output(["ls", "-alh"], text=True)
|
61 |
-
|
62 |
-
datetime.datetime.now().replace(microsecond=0).isoformat().replace("T", " ")
|
63 |
-
)
|
64 |
-
return f"# {comment}\n\n{output}"
|
65 |
st.write(run())
|
66 |
user_input = st.text_input("Input a phrase")
|
67 |
|
|
|
58 |
output = subprocess.check_output(["nvidia-smi"], text=True)
|
59 |
except FileNotFoundError:
|
60 |
output = subprocess.check_output(["ls", "-alh"], text=True)
|
61 |
+
return f"#{output}"
|
|
|
|
|
|
|
62 |
st.write(run())
|
63 |
user_input = st.text_input("Input a phrase")
|
64 |
|