Netflix-level subtitle cutting, translation, alignment, and even dubbing - one-click fully automated AI video subtitle team | Netflix级字幕切割、翻译、对齐、甚至加上配音,一键全自动视频搬运AI字幕组
2024-09-26 15:57:49.406 Uncaught app exception
Traceback (most recent call last):
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 590, in code_to_exec
exec(code, module.__dict__)
File "/Users/tio/PycharmProjects/VideoLingo/st.py", line 128, in <module>
main()
File "/Users/tio/PycharmProjects/VideoLingo/st.py", line 124, in main
text_processing_section()
File "/Users/tio/PycharmProjects/VideoLingo/st.py", line 28, in text_processing_section
process_text()
File "/Users/tio/PycharmProjects/VideoLingo/st.py", line 61, in process_text
step5_splitforsub.split_for_sub_main()
File "/Users/tio/PycharmProjects/VideoLingo/core/step5_splitforsub.py", line 104, in split_for_sub_main
pd.DataFrame({'Source': src_lines, 'Translation': tr_lines}).to_excel("output/log/translation_results_for_subtitles.xlsx", index=False)
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/pandas/core/frame.py", line 778, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
File "/Users/tio/miniconda3/envs/videolingo/lib/python3.10/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
不确定是不是跟韩语相关