Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import subprocess
|
2 |
import streamlit as st
|
3 |
|
|
|
4 |
p = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE)
|
5 |
output = p.communicate()[0]
|
6 |
st.code(output.decode("utf-8"))
|
|
|
1 |
import subprocess
|
2 |
import streamlit as st
|
3 |
|
4 |
+
st.write("Output of `pip freeze`:")
|
5 |
p = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE)
|
6 |
output = p.communicate()[0]
|
7 |
st.code(output.decode("utf-8"))
|