-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make_ JS parameter references JS file? #1989
Comments
Hi @tt0203, would you be able to give us more context around this issue? What is your Gradio code, and what does this md5 function do? |
Now,I just try to use the following code: import gradio as gr I Want to implement the reference of MD5 function in JS file,but it doesn't work. |
Hi@abidlabs Now,I just try to use the following code: import gradio as gr demo.launch() I want to implement the reference of MD5 function in JS file,use md5 function to encrypt the gr.Textbox string,but it doesn't work. |
I see that the cases provided on the official website are only the cases where the arrow function defines variables and returns. However, how to implement a custom function by referencing an online JS file?
Just i have an online JS file:
https://huggingface.co/spaces/changxin/test/raw/main/statics/md5.js
How can I use the md5 function?
The text was updated successfully, but these errors were encountered: