light-and-ray / sd-webui-replacer

A tab for sd-webui for replacing objects in pictures or videos using detection prompt
208 stars 11 forks source link

ImportError: cannot import name 'ui_toprow' from 'modules' (unknown location) #9

Closed xteaselx closed 10 months ago

xteaselx commented 10 months ago

*** Error loading script: replacer_main_ui.py Traceback (most recent call last): File "G:\Programas\ai stable difusion\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "G:\Programas\ai stable difusion\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 "G:\Programas\ai stable difusion\stable-diffusion-webui\extensions\sd-webui-replacer\scripts\replacer_main_ui.py", line 4, in from modules import scripts, shared, sd_samplers, ui_toprow, ui ImportError: cannot import name 'ui_toprow' from 'modules' (unknown location)


I'm getting this error with replacer, do you know how to fix?

light-and-ray commented 10 months ago

Duplicate of: #8 You need to update your a1111 webui, or to downgrade the entension. From readme:

Install this extention. Be sure your sd-webui version is >= 1.7.0. For 1.6.x last compatiable version is 9a20cb2 (run git checkout 9a20cb2 inside extension's directory for downgrade)