音频模型#

class langchain_experimental.video_captioning.models.AudioModel(start_time: int, end_time: int, subtitle_text: str)[source]#

属性

end_time

start_time

subtitle_text

方法

__init__(start_time, end_time, subtitle_text)

from_srt(start_time, end_time, *args)

Parameters:
  • start_time (int)

  • end_time (int)

  • subtitle_text (str)

__init__(start_time: int, end_time: int, subtitle_text: str) None[来源]#
Parameters:
  • start_time (int)

  • end_time (int)

  • subtitle_text (str)

Return type:

classmethod from_srt(start_time: str, end_time: str, *args: Any) BaseModel#
Parameters:
  • start_time (str)

  • end_time (str)

  • args (Any)

Return type:

BaseModel