sd-webui-mov2mov
sd-webui-mov2mov copied to clipboard
Mov2mov don´t load after AUTOMATIC1111 stable-diffusion-webui update 1.9.0
*** 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 "
me too
me too, any solution?
me too, any solution?
I think is the same problem here: https://github.com/Scholar01/sd-webui-mov2mov/issues/146#issuecomment-2054157728
#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)
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
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
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
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
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
@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
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
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
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
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
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
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
@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
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
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:
- deleted and reinstalled mov2mov extension
- replaced m2m.ui with zipped file
- added line in modules/ui.py
- deleted and rebuilt venv folder
- 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.
Yeah having the same issue ive gone through all the steps and have had the same exact errors as you I'm gonna keep working on it see what happens i guess
Yeah having the same issue ive gone through all the steps and have had the same exact errors as you I'm gonna keep working on it see what happens i guess
You guys could try v2v helper. It's not so complex like mov2mov, but it is an option. We don't know when the owner will be able to fix it.
Yeah having the same issue ive gone through all the steps and have had the same exact errors as you I'm gonna keep working on it see what happens i guess
My only other thought, since other people have gotten it to work, is that some other extension is messing it up somehow. Could try uninstalling everything, but I feel like I'm tired of fighting this one. Maybe v2v helper will be an option.
Yeah ive done multiple fresh reinstalls with no extensions only mov2mov, no luck
Hello, Do you have a fix? I still have issue with install/generate, even if I replace m2m_ui.py
ControlNet preprocessor location: C:\Users\\Documents\webui_forge_cu121_torch21\webui\models\ControlNetPreprocessor
*** Error loading script: module_ui_extensions.py
Traceback (most recent call last):
File "C:\Users\\Documents\webui_forge_cu121_torch21\webui\modules\scripts.py", line 525, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\\Documents\webui_forge_cu121_torch21\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\\Documents\webui_forge_cu121_torch21\webui\extensions\sd-webui-mov2mov\scripts\module_ui_extensions.py", line 46, in <module>
obj=gradio.components.IOComponent,
AttributeError: module 'gradio.components' has no attribute 'IOComponent'
---
00:20:35 - ReActor - STATUS - Running v0.7.1-a2 on Device: CUDA
Loading weights [15012c538f] from C:\Users\\Documents\webui_forge_cu121_torch21\webui\models\Stable-diffusion\realisticVisionV51_v51VAE.safetensors
2024-08-24 00:20:36,313 - ControlNet - INFO - ControlNet UI callback registered.
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
To load target model JointCLIPTextEncoder
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 11071.9990234375
[Memory Management] Model Memory (MB) = 308.21982765197754
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 9739.779195785522
Moving model(s) has taken 0.11 seconds
Model loaded in 3.8s (load weights from disk: 0.1s, forge load real models: 2.6s, calculate empty prompt: 1.0s).
Running on local URL: http://127.0.0.1:7860
Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSB
To create a public link, set `share=True` in `launch()`.
Startup time: 21.1s (prepare environment: 7.5s, launcher: 1.8s, import torch: 3.0s, setup paths: 0.7s, initialize shared: 0.1s, other imports: 0.6s, load scripts: 2.2s, create ui: 3.3s, gradio launch: 1.8s).
Traceback (most recent call last):
File "C:\Users\\Documents\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "C:\Users\\Documents\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\route_utils.py", line 285, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\\Documents\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\blocks.py", line 1919, in process_api
inputs = await self.preprocess_data(
File "C:\Users\\Documents\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\blocks.py", line 1647, in preprocess_data
inputs_cached = block.data_model(**inputs_cached) # type: ignore
TypeError: gradio.components.label.LabelData() argument after ** must be a mapping, not str
Thanks
Yeah I'm afraid I still could not get it to work after trying everything I ended up just using the V2V extension as a temporary work around until a fix/update is available