Alter-0 / ceshi1

0 stars 0 forks source link

test #1

Open Alter-0 opened 1 year ago

Alter-0 commented 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})

Alter-0 commented 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})

`

Alter-0 commented 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})

Alter-0 commented 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})

Alter-0 commented 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})

Alter-0 commented 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}) '''

Alter-0 commented 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})
Alter-0 commented 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})