[X] I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
Are you using the latest version of the extension?
[X] I have the modelscope text2video extension updated to the lastest version and I still have the issue.
What happened?
Extension does not start because of a ModuleNotFoundError when importing the internal module t2v_helpers
Steps to reproduce the problem
Install extension
Restart WebUI via button in Extensions tab
Check console logs
What should have happened?
No response
WebUI and Deforum extension Commit IDs
webui commit id - 22bcc7be428c94e9408f589966c2040187245d81
txt2vid commit id - 489c5fcae0b7bc33f133620a94211805cda3277d
What GPU were you using for launching?
Not relevant
On which platform are you launching the webui backend with the extension?
Local PC setup (Linux)
Settings
Extension crashes before settings are even initialized
Console logs
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################
################################################################
Running on netux user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Python 3.10.9 (main, Jan 16 2023, 22:08:06) [GCC 10.2.1 20210110]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
Launching Web UI with arguments: --xformers --no-half-vae
Error loading script: api_t2v.py
Traceback (most recent call last):
File "/deving/machine-learning/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/deving/machine-learning/stable-diffusion-webui/modules/script_loading.py", line 11, 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 "/deving/machine-learning/stable-diffusion-webui/extensions/text2video/scripts/api_t2v.py", line 31, in <module>
from t2v_helpers.video_audio_utils import find_ffmpeg_binary
ModuleNotFoundError: No module named 't2v_helpers'
Error loading script: text2vid.py
Traceback (most recent call last):
File "/deving/machine-learning/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/deving/machine-learning/stable-diffusion-webui/modules/script_loading.py", line 11, 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 "/deving/machine-learning/stable-diffusion-webui/extensions/text2video/scripts/text2vid.py", line 16, in <module>
from t2v_helpers.render import run
ModuleNotFoundError: No module named 't2v_helpers'
Loading weights [cc6cb27103] from /deving/machine-learning/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt
Creating model from config: /deving/machine-learning/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(8): charturnerv2_sd15, corneo_brigitte, corneo_dva, corneo_mercy, corneo_tracer, korra_shurik-2000, lucy_kushinadaV2, RebeccaEdgerunners-5000
Textual inversion embeddings skipped(4): 21charturnerv2, midjourney, negmutation-400, negmutation-500
Model loaded in 63.6s (load weights from disk: 8.3s, create model: 0.7s, apply weights to model: 0.7s, apply half(): 0.2s, load VAE: 52.6s, move model to device: 0.5s, load textual inversion embeddings: 0.6s).
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 178.7s (import torch: 54.9s, import gradio: 21.7s, import ldm: 16.9s, other imports: 14.6s, list SD models: 0.6s, setup codeformer: 0.6s, list builtin upscalers: 0.3s, load SD checkpoint: 63.6s, create ui: 4.8s, gradio launch: 0.7s).
Additional information
Python version 3.10.9
Running under Debian on WSL 2
Is there an existing issue for this?
Are you using the latest version of the extension?
What happened?
Extension does not start because of a ModuleNotFoundError when importing the internal module
t2v_helpers
Steps to reproduce the problem
What should have happened?
No response
WebUI and Deforum extension Commit IDs
webui commit id - 22bcc7be428c94e9408f589966c2040187245d81 txt2vid commit id - 489c5fcae0b7bc33f133620a94211805cda3277d
What GPU were you using for launching?
Not relevant
On which platform are you launching the webui backend with the extension?
Local PC setup (Linux)
Settings
Extension crashes before settings are even initialized
Console logs
Additional information
Python version 3.10.9 Running under Debian on WSL 2