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