username23231 commited on
Commit
b49d5aa
·
1 Parent(s): 8a54b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -6,6 +6,10 @@ with st.form(key='my_form'):
6
 
7
  def style_css(url):
8
  st.markdown(f'<link href="{url}" rel="stylesheet">', unsafe_allow_html=True)
9
- st.markdown(f'<script>alert("Hello! I am an alert box!!");</script>', unsafe_allow_html=True)
 
 
 
10
  style_css("https://huggingface.co/spaces/ports/discussion/raw/main/style.css")
 
11
 
 
6
 
7
  def style_css(url):
8
  st.markdown(f'<link href="{url}" rel="stylesheet">', unsafe_allow_html=True)
9
+
10
+ def js(url):
11
+ st.markdown(f'<script src="{url}"></script>', unsafe_allow_html=True)
12
+
13
  style_css("https://huggingface.co/spaces/ports/discussion/raw/main/style.css")
14
+ js("https://huggingface.co/spaces/ports/discussion/raw/main/a.js")
15