diff --git a/scripts/deforum_helpers/general_utils.py b/scripts/deforum_helpers/general_utils.py index 30e9d8437..beedbaaaf 100644 --- a/scripts/deforum_helpers/general_utils.py +++ b/scripts/deforum_helpers/general_utils.py @@ -18,7 +18,7 @@ import shutil import hashlib from modules.shared import opts -from basicsr.utils.download_util import load_file_from_url +from modules.modelloader import load_file_from_url def debug_print(message): DEBUG_MODE = opts.data.get("deforum_debug_mode_enabled", False) diff --git a/scripts/deforum_helpers/upscaling.py b/scripts/deforum_helpers/upscaling.py index f255cecf7..4477f51cb 100644 --- a/scripts/deforum_helpers/upscaling.py +++ b/scripts/deforum_helpers/upscaling.py @@ -22,7 +22,7 @@ from .frame_interpolation import clean_folder_name from .general_utils import duplicate_pngs_from_folder, checksum from .video_audio_utilities import vid2frames, ffmpeg_stitch_video, extract_number, media_file_has_audio -from basicsr.utils.download_util import load_file_from_url +from modules.modelloader import load_file_from_url from .rich import console from modules.shared import opts diff --git a/scripts/deforum_helpers/video_audio_utilities.py b/scripts/deforum_helpers/video_audio_utilities.py index 140c5c95e..fe584f531 100644 --- a/scripts/deforum_helpers/video_audio_utilities.py +++ b/scripts/deforum_helpers/video_audio_utilities.py @@ -29,7 +29,7 @@ from pkg_resources import resource_filename from modules.shared import state, opts from .general_utils import checksum, clean_gradio_path_strings, debug_print -from basicsr.utils.download_util import load_file_from_url +from modules.modelloader import load_file_from_url from .rich import console import shutil from threading import Thread