changxin commited on
Commit
0f11f0b
1 Parent(s): f8fe83a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,6 +135,6 @@ with demo:
135
  js_button1.click(None,a,js_output,_js="x=>'你好:'+x")
136
  js_button2.click(None,a,js_output,_js="x=>`你好:${x},欢迎吹水!`")
137
  js_button.click(None,a,js_output,_js="(x) => [...x].reverse().join('')",api_name='js')
138
- js_button3.click(None,a,js_output,_js="x=>{<script src='statics/md5.js'></script>;return md5(x)}")
139
  demo.launch()
140
 
 
135
  js_button1.click(None,a,js_output,_js="x=>'你好:'+x")
136
  js_button2.click(None,a,js_output,_js="x=>`你好:${x},欢迎吹水!`")
137
  js_button.click(None,a,js_output,_js="(x) => [...x].reverse().join('')",api_name='js')
138
+ js_button3.click(None,a,js_output,_js="x=>{<script src='https://huggingface.co/spaces/changxin/test/raw/main/statics/md5.js'></script>;return md5(x)}")
139
  demo.launch()
140