How to clear file_uploader buffer

hi,

Good day. I would like to know how to clear “file_uploader” buffer in python, essentially the same thing as the user click the x in the gui. Many thanks.

kind regards,