The Temperature gauge going up may not entirely be due to the AC. It could be as a result of a faulty sensor or malfunctioning coolant. However, if  the gauge goes up everytime you put on the AC, you may have to get your AC and other components of the cooling system serviced.