aseifert commited on
Commit
d8434ba
1 Parent(s): 8fa0bf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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]