langchain_experimental.video_captioning.services.srt_service
.SRTProcessor¶
- class langchain_experimental.video_captioning.services.srt_service.SRTProcessor[source]¶
方法
__init__
()process
(caption_models)从一系列字幕模型中生成完整的SRT内容。
- __init__()¶
- 静态 process(caption_models: List[CaptionModel]) str [source]¶
从一系列字幕模型中生成完整的SRT内容。
- 参数
caption_models (列表[CaptionModel]) –
- 返回类型
字符串