-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading script: m2m_ui.py #146
Comments
Same here Edit: I've created a very rough workaround for this issue, since I don't know mov2mov code. I've noticed lots of changes happened in A1111 implementation, and the create_sampler_and_steps_selection() function in A1111 ui.py just vanished. I created the same function again inside m2m_ui.py, getting those settings from txt2img tab. You will need to set in txt2img tab those settings too, in order to mov2mov work. |
*** Error loading script: m2m_ui.py
|
Yes, it worked! Thank you.......I didn't do the last step and it worked perfectly. |
Thanx, Now I have mov2mov tab in my interface but I am not sure what do you mean by "need to set in txt2img tab those settings too, in order to mov2mov work" What should I change in txt2img tab ? |
Just copy this function in modules/ui.py
|
This solved! Thanks def create_sampler_and_steps_selection(choices, tabname):
return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name in \Stable Diffusion WebUI\modules\ui.py |
@158zd close the issue |
I just copy m2m_ui.py to extensions\sd-webui-mov2mov\scripts to overwrite the old one, and enable Stable Diffusion to display M2M normally. |
You can try stable diffusion webui version 1.7.0 too. |
I can confirm that the 'two-part'* solution has it working in 1.9.3, (at least for me) - and it wasn't as tricky as it first looked! |
Works PERFECTLY!! 厉害了老铁!!!👍🏻 |
very much useful, For https://github.com/Scholar01/sd-webui-mov2mov, just replace script m2m_ui.py with m2m_ui.zip |
Nothing seems to work for me tbh. Tried pasting code , tried replacing the file but still no success. SD version 1.9.3 |
Yeah I'm having the same issue I've tried everything mentioned with a similar error code, |
how can i fix this error?? *** Error loading script: mov2mov.py |
Windows:10
Python:3.10.6
Version:v1.9.0
"I followed this method to reinstall m2m_ui.py, but the same error persists."
The text was updated successfully, but these errors were encountered: