Update app.py
Browse files
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
|
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 |
|