Compare commits
8 Commits
d4f65d4eaf
...
2d530ab737
Author | SHA1 | Date |
---|---|---|
|
2d530ab737 | |
|
e531f6f26e | |
|
c39f6ac33b | |
|
5812ef3cc9 | |
|
b9aac85635 | |
|
75decc5838 | |
|
f38ebb485a | |
|
31f437ff79 |
|
@ -35,4 +35,3 @@ log_level = 'error'
|
|||
fp_ui: Dict[str, bool] = {}
|
||||
camera_input_combobox = None
|
||||
webcam_preview_running = False
|
||||
opacity = 100
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = 'Deep Live Cam'
|
||||
version = '1.5.0'
|
||||
version = '1.6.0'
|
||||
edition = 'Portable'
|
||||
|
|
|
@ -18,7 +18,7 @@ NAME = 'DLC.FACE-SWAPPER'
|
|||
|
||||
def pre_check() -> bool:
|
||||
download_directory_path = resolve_relative_path('../models')
|
||||
conditional_download(download_directory_path, ['https://huggingface.co/hacksider/deep-live-cam/blob/main/inswapper_128.onnx'])
|
||||
conditional_download(download_directory_path, ['https://huggingface.co/hacksider/deep-live-cam/blob/main/inswapper_128_fp16.onnx'])
|
||||
return True
|
||||
|
||||
|
||||
|
@ -40,7 +40,7 @@ def get_face_swapper() -> Any:
|
|||
|
||||
with THREAD_LOCK:
|
||||
if FACE_SWAPPER is None:
|
||||
model_path = resolve_relative_path('../models/inswapper_128.onnx')
|
||||
model_path = resolve_relative_path('../models/inswapper_128_fp16.onnx')
|
||||
FACE_SWAPPER = insightface.model_zoo.get_model(model_path, providers=modules.globals.execution_providers)
|
||||
return FACE_SWAPPER
|
||||
|
||||
|
|
787
modules/ui.py
787
modules/ui.py
File diff suppressed because it is too large
Load Diff
|
@ -10,7 +10,7 @@ tk==0.1.0
|
|||
customtkinter==5.2.2
|
||||
pillow==9.5.0
|
||||
torch==2.0.1+cu118; sys_platform != 'darwin'
|
||||
torch==2.0.1; sys_platform == 'darwin'
|
||||
torch==2.2.0; sys_platform == 'darwin'
|
||||
torchvision==0.15.2+cu118; sys_platform != 'darwin'
|
||||
torchvision==0.15.2; sys_platform == 'darwin'
|
||||
onnxruntime-silicon==1.16.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
||||
|
|
Loading…
Reference in New Issue