from app.services.srt_parser import parse_srt
from app.services.translator import translate_blocks
from app.services.srt_builder import build_srt

sample = """1
00:00:01,000 --> 00:00:03,000
Hello there

2
00:00:04,000 --> 00:00:06,000
How are you?
"""

blocks = parse_srt(sample)
blocks = translate_blocks(blocks)
result = build_srt(blocks)

print(result)
