mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
use Fooocus' facexlib
This commit is contained in:
@@ -25,7 +25,7 @@ def crop_image(img_rgb):
|
||||
global faceRestoreHelper
|
||||
|
||||
if faceRestoreHelper is None:
|
||||
from facexlib.utils.face_restoration_helper import FaceRestoreHelper
|
||||
from fooocus_extras.facexlib.utils.face_restoration_helper import FaceRestoreHelper
|
||||
faceRestoreHelper = FaceRestoreHelper(
|
||||
upscale_factor=1,
|
||||
model_rootpath=modules.config.path_controlnet,
|
||||
|
||||
Reference in New Issue
Block a user