Line emission from optically thick relativistic accretion tori