Your main limitation will be the power supply (PSU). I have checked the specs (https://www.cnet.com/products/hp-compaq-business-desktop-dx2400-p-e5200-2-5-ghz-monitor-none-series/specs/), but it doesn't say what wattage the PSU has, so i'm assuming a very low wattage. You would then be limited to a graphics card (GPU) that does not require additional power from the PSU, just the power it will get from the motherboard directly. Right now, the most powerful GPUs that do not require extra power are the Nvidia GTX 1050Ti (but beware: there are some models that do require extra power, and others that don't, so pay attention to the specs; if extra power is needed, the specs whould say so explicitly). I'm not recommending any particular model because i don't know where you would buy it and it may not be available in your store. But feel free to ask about a particular model, and i'll gladly confirm if it's usable. Hope this helps!