[BUG] GradioUI’s uploadfile Function Incorrectly Modifies File Extensions
Author: kingdomadCreated Feb 9, 2025Updated Sep 12, 2026
Labelsbug
Due to a logical error in the upload_file function of GradioUI, the suffix of the uploaded filename was incorrectly modified. I have already submitted a pull request #342 addressing this issue a long time ago. Please take a look.
Source: huggingface/smolagents