I don't know of any digital frame that will do that.

You can connect a card reader to your computer and then use the computer to remove the unwanted picture files.

Caution ... do not put the memory card back into the camera.

The camera will likely be confused by the change in the File Information Block. And the camera might cause the card to be unreadable.

Buy a new memory card for the camera.

..