got error " cannot import name 'AfterCFGCallbackParams' from 'modules.script_callbacks
i've got this error after paste a file " sd_samplers_kdiffusion.py on modules " , now i can't open SD , does anyone know why this happen ?

1 Answer
Unless you made a backup of modules before pasting the file the I would guess you would need to update with git pull (link) or fully reinstall A1111. You could try making a new install and copying modules from the new install.