How to tell iPhone 7 front camera assembly from iPhone 8?

Hey, I have a front camera assembly that I want to use for my iPhone 7 but I don't know if it is for a 7 or 8. Is there any way to tell the difference? They look so similar, thanks for the help!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0