Open Alter-0 opened 1 year ago
` from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
`
from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
''' from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False}) '''
from whisperx.utils import WriteSRT
with open("1.srt", "w", encoding="utf-8") as srt:
writesrt=WriteSRT(".") #output file directory
writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
from whisperx.utils import WriteSRT
with open("1.srt", "w", encoding="utf-8") as srt:
writesrt=WriteSRT(".") #output file directory
writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})
from whisperx.utils import WriteSRT with open("1.srt", "w", encoding="utf-8") as srt: writesrt=WriteSRT(".") #output file directory writesrt.write_result(result=result, file=srt,options={"max_line_width":None,"max_line_count":None,"highlight_words":False})