mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
lora apply on gpu vs cpu settings option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -64,7 +64,8 @@ def download_civit_meta(model_path: str, model_id):
|
||||
def download_civit_preview(model_path: str, preview_url: str):
|
||||
ext = os.path.splitext(preview_url)[1]
|
||||
preview_file = os.path.splitext(model_path)[0] + ext
|
||||
if preview_file.endswith('.mp4'):
|
||||
is_video = preview_file.lower().endswith('.mp4')
|
||||
if is_video:
|
||||
shared.log.warning(f'CivitAI download: url="{preview_url}" skip video')
|
||||
return ''
|
||||
if os.path.exists(preview_file):
|
||||
|
||||
Reference in New Issue
Block a user