AudioModel#

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

Attributes

end_time

start_time

subtitle_text

Methods

__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[source]#
Parameters:
  • start_time (int)

  • end_time (int)

  • subtitle_text (str)

Return type:

None

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

  • end_time (str)

  • args (Any)

Return type:

BaseModel