Skip to content
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

[Bug]: Cannot install Text2Video #204

Open
2 tasks done
keybored13 opened this issue Jul 13, 2023 · 0 comments
Open
2 tasks done

[Bug]: Cannot install Text2Video #204

keybored13 opened this issue Jul 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@keybored13
Copy link

Is there an existing issue for this?

  • 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?

  • I have the modelscope text2video extension updated to the lastest version and I still have the issue.

What happened?

Despite following the instructions and watching several videos on how to install, I still cannot get it to show up as a tab and it gives errors when loading webui-user.

I have installed StableDiffusion succesfully and been using it for months with no problems so far but just cannot get text2video to work.

Steps to reproduce the problem

  1. Go to .... webui-user.bat
  2. Press .... enter
  3. ... error messages appear and no text2video tab is created

What should have happened?

I should have a text2video tab

WebUI and Deforum extension Commit IDs

webui commit id - https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui/-/commit/cca6e5212ddd77be7efdce2c27e475d3af436d85

txt2vid commit id - 3f4a109

Torch version

1.12.1+cu113

What GPU were you using for launching?

Screenshot 2023-07-13 150603

On which platform are you launching the webui backend with the extension?

Local PC setup (Windows)

Settings

Not sure which settings you mean?

Console logs

warning: redirecting to https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui.git/
Already up to date.
venv "C:\ai\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: cca6e5212ddd77be7efdce2c27e475d3af436d85
Installing requirements for Web UI

Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Error loading script: api_t2v.py
Traceback (most recent call last):
  File "C:\ai\stable-diffusion-webui\modules\scripts.py", line 205, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "C:\ai\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "C:\ai\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\api_t2v.py", line 16, in <module>
    current_directory = os.path.dirname(os.path.abspath(__file__))
NameError: name '__file__' is not defined

Error loading script: text2vid.py
Traceback (most recent call last):
  File "C:\ai\stable-diffusion-webui\modules\scripts.py", line 205, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "C:\ai\stable-diffusion-webui\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "C:\ai\stable-diffusion-webui\extensions\sd-webui-text2video\scripts\text2vid.py", line 17, in <module>
    current_directory = os.path.dirname(os.path.abspath(__file__))
NameError: name '__file__' is not defined

LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading weights [81761151] from C:\ai\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.ckpt
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded.
Warning: Bad ui setting value: img2img/Mask mode/value: Draw mask; Default value "Inpaint masked" will be used instead.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.

Additional information

Pretty new to this so please go easy. :D

@keybored13 keybored13 added the bug Something isn't working label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant