MCPcopy Index your code
hub / github.com/modelscope/FunClip / time

Method time

funclip/utils/subtitle_utils.py:53–54  ·  view source on GitHub ↗
(self, acc_ost=0.0)

Source from the content-addressed store, hash-verified

51 time_convert(self.end_sec+acc_ost*1000),
52 self.text())
53 def time(self, acc_ost=0.0):
54 return (self.start_sec/1000+acc_ost, self.end_sec/1000+acc_ost)
55
56
57def generate_srt(sentence_list):

Callers 2

generate_srt_clipFunction · 0.95
_resolve_video_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected