changxin commited on
Commit
f8fe83a
1 Parent(s): af26cd5

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="<script src='statics/md5.js'></script>x=>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='statics/md5.js'></script>;return md5(x)}")
139
  demo.launch()
140