Ui action button to upload an attachment of type only excel and csv

Kishor O
Tera Sage

I have created a UI action Bulk task once the user clicks on the button it prompts to select an attachment.
Now I want it to accept only Excel and csv files.
How can I achieve this?

KishorO_0-1709472157697.png

KishorO_1-1709472231400.png