Skip to content
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

blocks doc load js parameter description error #10751

Open
1 task done
JinhaoPlus opened this issue Mar 7, 2025 · 0 comments
Open
1 task done

blocks doc load js parameter description error #10751

JinhaoPlus opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@JinhaoPlus
Copy link

Describe the bug

Doc Bug:https://www.gradio.app/docs/gradio/blocks#blocks-load

After I try this js parameter, I think the description of js parameter should be:

Optional frontend js method to run before running 'fn'. Input arguments for js method are values of 'inputs' and 'outputs', return should be a list of values for input components.

Because the result that js produce is provided for fn, while the input components

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

Image

Logs

System Info

5.20.0

Severity

Blocking usage of gradio

@JinhaoPlus JinhaoPlus added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant