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

Support drag-and-drop to add files to gr.File after uploading some files #10325

Open
1 task done
hysts opened this issue Jan 10, 2025 · 0 comments
Open
1 task done

Support drag-and-drop to add files to gr.File after uploading some files #10325

hysts opened this issue Jan 10, 2025 · 0 comments

Comments

@hysts
Copy link
Collaborator

hysts commented Jan 10, 2025

  • I have searched to see if a similar issue already exists.

While files can be added using the upload button,

it seems drag-and-drop doesn't work.

out.mp4

I used this code to take the screenshot and recordings.

import gradio as gr

with gr.Blocks() as demo:
    files = gr.File(file_count="multiple", allow_reordering=True)
demo.launch()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant