SRTProcessor#

class langchain_experimental.video_captioning.services.srt_service.SRTProcessor[source]#

Methods

process(caption_models)

Generates the full SRT content from a list of caption models.

static process(caption_models: List[CaptionModel]) str[source]#

Generates the full SRT content from a list of caption models.

Parameters:

caption_models (List[CaptionModel])

Return type:

str