ototadana / sd-face-editor

Face Editor for Stable Diffusion
MIT License
1.03k stars 85 forks source link

Error loading script: face_editor.py #188

Closed JediMaDMZ closed 10 months ago

JediMaDMZ commented 10 months ago

I'm having this problem lately

*** Error loading script: face_editor.py Traceback (most recent call last): File "I:\AI\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "I:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "I:\AI\stable-diffusion-webui\scripts\face_editor.py", line 5, in from scripts.entities.option import Option ModuleNotFoundError: No module named 'scripts.entities'

How can I fix it please?

ototadana commented 10 months ago

It appears to be installed using a very old version of the setup instructions. Could you please remove face-editor.py from "I:\AI\stable-diffusion-webui\scripts\" and reinstall it following the instructions below?

JediMaDMZ commented 10 months ago

Solved! thank you so much!