Skip to content

Commit

Permalink
Use load_file_from_url from modules.modelloader
Browse files Browse the repository at this point in the history
  • Loading branch information
viking1304 committed Mar 4, 2024
1 parent 33c0f03 commit 3686ad9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/deforum_helpers/general_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/deforum_helpers/upscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/deforum_helpers/video_audio_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3686ad9

Please sign in to comment.