Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
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]
|
|
|
1 |
import subprocess
|
2 |
import streamlit as st
|
3 |
+
from streamlit.components.v1 import html
|
4 |
|
5 |
+
script_html = '<script defer data-domain="huggingface.co" src="https://plausible.io/js/plausible.js"></script>'
|
6 |
+
html(script_html)
|
7 |
st.write("Output of `pip freeze`:")
|
8 |
p = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE)
|
9 |
output = p.communicate()[0]
|