In my opinion Redmi 7 is better choice. SD 632 processor, finger print and infrared sensor, dual rear camera which makes Redmi 7 better then Redmi 8A.
Only USB C port and 1000mah more battery extra in Redmi 8A.