"text":" Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst "
"the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst "
"the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst "
"the tents. Concord returned to its place amidst the tents."
}
self.assertEqual(res,expected_output)
res=pipe(audio,return_timestamps=True)
self.assertEqual(
res,
{
"text":" Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents. Concord returned to its place amidst the tents.",
"chunks":[
{"timestamp":(0.0,3.22),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(3.22,6.74),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(6.74,10.26),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(10.26,13.78),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(13.78,17.3),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(17.3,20.82),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(20.82,24.34),"text":" Concord returned to its place amidst the tents."},
{"timestamp":(24.34,27.86),"text":" Concord returned to its place amidst the tents."},