diff --git a/funclip/videoclipper.py b/funclip/videoclipper.py index 14097e5..b4aa513 100644 --- a/funclip/videoclipper.py +++ b/funclip/videoclipper.py @@ -16,7 +16,7 @@ import moviepy.editor as mpy from moviepy.video.tools.subtitles import SubtitlesClip, TextClip from moviepy.editor import VideoFileClip, concatenate_videoclips -from moviepy.video.compositing import CompositeVideoClip +from moviepy.video.compositing.CompositeVideoClip import CompositeVideoClip from utils.subtitle_utils import generate_srt, generate_srt_clip from utils.argparse_tools import ArgumentParser, get_commandline_args from utils.trans_utils import pre_proc, proc, write_state, load_state, proc_spk, convert_pcm_to_float @@ -441,4 +441,4 @@ def main(cmd=None): if __name__ == '__main__': - main() \ No newline at end of file + main() diff --git a/requirements.txt b/requirements.txt index 4817934..3a38499 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ librosa soundfile scikit-learn>=1.3.2 funasr>=1.1.2 -moviepy +moviepy==1.0.3 numpy==1.26.4 gradio modelscope