Scholar01/sd-webui-mov2mov

Mov2mov don´t load after AUTOMATIC1111 stable-diffusion-webui update 1.9.0

Yuugenbrose opened this issue · 29 comments

*** Error loading script: m2m_ui.py
Traceback (most recent call last):
File "E:\stable-diffusion-webui\modules\scripts.py", line 508, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\stable-diffusion-webui\modules\script_loading.py", line 14, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\stable-diffusion-webui\extensions\sd-webui-mov2mov\scripts\m2m_ui.py", line 23, in
from modules.ui import (
ImportError: cannot import name 'create_sampler_and_steps_selection' from 'modules.ui' (E:\stable-diffusion-webui\modules\ui.py)

me too

me too, any solution?

me too, any solution?

I think is the same problem here: #146 (comment)

#146 Thanks!!

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

Not working for me, god I love amd stable diffusion (sarcasm)

@riccorohl

Try installing the 1.7.0. version of stable difffusion webui, can be found here

Before the mv2mov window did not appear, although now it appears when pressing generate does not do anything at all.

Hey guys, do we have a resolution to this as yet?

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen.
However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal.
It's just unresponsive.

I'm on version 1.9.3

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.

I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it.
I used " Git reset --hard cf2772f" to install version 1.7.0

I put back in the function "def create_sampler_and_steps_selection(choices, tabname):
return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"

but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional.
Hitting "Generate" just does nothing, but in UI and in Terminal.

However, this weird thing occurs
image
That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0

I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"

but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.

However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

what are you trying to do?
Text2Img? What are the instance/system specs?
Can you share more details?

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0

I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"

but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.

However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip
It fixes both user interface and the missing function.

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0
I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"
but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.
However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip It fixes both user interface and the missing function.

Unfortunately produced errors
image

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0
I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"
but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.
However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip It fixes both user interface and the missing function.

Unfortunately produced errors image

Same issue bro
do this , add :

def create_sampler_and_steps_selection(choices, tabname):
return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

and replace m2m_ui with this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip
I use 1.9.4

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0
I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"
but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.
However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip It fixes both user interface and the missing function.

Unfortunately produced errors image

Same issue bro do this , add :

def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

and replace m2m_ui with this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip I use 1.9.4

if oyu dont mind me asking, im new to this and dont really understand what you mean by "add this" i understand you want me to paste this somewhere, but have no clue how to open or find the correct file. I can replace the file mentioned np, but lost on the "def create..."

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0
I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"
but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.
However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip It fixes both user interface and the missing function.

Unfortunately produced errors image

Same issue bro do this , add :
def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name
and replace m2m_ui with this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip I use 1.9.4

if oyu dont mind me asking, im new to this and dont really understand what you mean by "add this" i understand you want me to paste this somewhere, but have no clue how to open or find the correct file. I can replace the file mentioned np, but lost on the "def create..."

Its mentioned there only. Copy and paste the function in modules/ui.py

For those interested, you can use A1111 img2img batch processing, paired with v2v helper extension:
https://civitai.com/articles/6203/v2v-helper-extension-to-create-videos-inside-automatic1111
Not so automatic or detailed like mov2mov, but it's an option while the owner can't fix this issue.

@kernsaunders2257 Did you try above solution???

Just copy this function in modules/ui.py

def create_sampler_and_steps_selection(choices, tabname):
    return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

I sure did, and what it did was remove the errors I was getting in the terminal and it corrected the tab not being seen. However, now when hitting the "Generate" button, absolutely nothing happens, within the UI and within the terminal. It's just unresponsive.
I'm on version 1.9.3

@kernsaunders2257 Can you try installing the 1.7.0. version of stable difffusion webui, can be found here

Ok, I tried it. I used " Git reset --hard cf2772f" to install version 1.7.0
I put back in the function "def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name"
but no luck with this, I can see the tab, everything about it seems to look ok, but it's still non-functional. Hitting "Generate" just does nothing, but in UI and in Terminal.
However, this weird thing occurs image That how it is upon switching to the tab and it's stuck like - again, nothing happening in the terminal.

Just use this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip It fixes both user interface and the missing function.

Unfortunately produced errors image

Same issue bro do this , add :

def create_sampler_and_steps_selection(choices, tabname): return scripts.scripts_txt2img.script('Sampler').steps, scripts.scripts_txt2img.script('Sampler').sampler_name

and replace m2m_ui with this file https://github.com/Scholar01/sd-webui-mov2mov/files/14972506/m2m_ui.zip I use 1.9.4

Yeah, this doesn't work for me on 1.9.4. Interface is fine but Generate does nothing. What I tried:

  1. deleted and reinstalled mov2mov extension
  2. replaced m2m.ui with zipped file
  3. added line in modules/ui.py
  4. deleted and rebuilt venv folder
  5. downgraded to 1.8.0 as a test

Still broken. Generate button does nothing. This is pretty much a dead extension for me now. Does anyone know of a working extension that does something similar to mov2mov? Thanks.