Would a generic psu work for my pc with a r7 240?

Solution
That psu is only rated for 144w on the 12v rail. Given its low quality and what your system would draw under load(~100-120w) I wouldn't suggest using that PSU. It may work for awhile but I don't see it ending well.