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

Use filetype for better type detection in GradIO #569

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sysradium
Copy link
Contributor

@sysradium sysradium commented Feb 9, 2025

An attempt to fix #566

@sysradium sysradium changed the title use python-magic for better type detection in GradIO Use python-magic for better type detection in GradIO Feb 9, 2025
@sysradium sysradium force-pushed the gradio-file-texten-detection branch from 4a7cfcb to e8f20f6 Compare February 9, 2025 12:58
@sysradium sysradium changed the title Use python-magic for better type detection in GradIO Use filetype for better type detection in GradIO Feb 9, 2025
@sysradium sysradium force-pushed the gradio-file-texten-detection branch from e8f20f6 to 2349ff7 Compare February 9, 2025 12:59
@aymeric-roucher
Copy link
Collaborator

@sysradium feel free to continue work on this PR now that #342 is merged!

@sysradium
Copy link
Contributor Author

@aymeric-roucher

Thanks. I will introduce tests as well.

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

Successfully merging this pull request may close these issues.

[BUG] GradioUI’s uploadfile Function Incorrectly Modifies File Extensions
2 participants