Even #6 AWG is STILL inadequate.

Conductors for standby generators need to be sized not less than 115% of the generators nameplate rating: NEC 445.13. In this case 50A x 115% = 57.5A, so you need to go with #4 AWG minimum in this application.

Joe