SRTProcessor#

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

Methods

__init__()

process(caption_models)

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

__init__()#
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