A/C units sweating in the attic
Sweating or normal condensate is a byproduct of air conditioning. Dripping in the pan and will continue to do so until the humidity is 20-30 points lower then it will slow but continue to drip (that’s why there is a pan to catch the water or condensate)
Once the water is caught it can be pumped or piped out of the home.
If you have sweating on the outside of the unit you are lucky your pan catches it. Insulating that metal surface can reduce or even eliminate sheet metal sweating when sealed with insulation.
So sealing is a start but insulating the ductwork Will be needed because as long as there is cold metal in a high humid area it will sweat.
If you have a glass of ice water is it sweating? Your metal parts are the same.