Gradient flows for non-smooth interaction potentials