It looks a bit odd that the FileUpload counter is increasing every time a file is uploaded, even when multiple=False is set:

When multiple=False is set shouldn't the counter equal to 1?
Can be tested with:
from ipywidgets import FileUpload, Output
out = Output()
@out.capture()
def show_content(change):
print(change['new'].keys())
w = FileUpload(multiple=False)
w.observe(show_content, 'value')
with out:
display(w)
out
I'm also wondering about this -- even when multiple=True, the counter _increments_ after each upload (even though the new value only contains the most recent set of uploaded files), and there doesn't seem to be a way to reset it (in a callback, for example) after processing the files.

How can we reset the counter?
Hello,
Facing the same issue, is there any workaround to reset the widget ?
Most helpful comment
I'm also wondering about this -- even when

multiple=True, the counter _increments_ after each upload (even though the newvalueonly contains the most recent set of uploaded files), and there doesn't seem to be a way to reset it (in a callback, for example) after processing the files.How can we reset the counter?