OCS and CS2

The dipole moment μOCS = 0.7 149 ± 0.0003 Debye.
CS2 :
S = C = S
In CS2 , the bond dipoles of 2C = S have same values and bond dipoles cancel each other so dipole moment of CS2 is zero. Among OCS and CS2 , OCS has a higher dipole moment because in OCS oxygen is more electronegative than sulphur and C = S and C = O bonds in OCS molecules do not cancel each other.
On the other hand CS2 , due to linear structure, the bond dipole of two C = S bonds cancel each other. On the other hand, CS2 due to linear structure, the bond dipoles of two C = S bonds cancel each other and the resultant dipol’s moment value is zero. So OCS has a higher dipole moment than CS2 .