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]: enable_emphasis #244

Open
2 tasks done
Enchante503 opened this issue May 24, 2024 · 2 comments
Open
2 tasks done

[Bug]: enable_emphasis #244

Enchante503 opened this issue May 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Enchante503
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?

opts.enable_emphasis is missing

Steps to reproduce the problem

  1. Go to .... text2video>ModelScope
  2. Press ... Generate
  3. ...AttributeError: 'Options' object has no attribute 'enable_emphasis'

What should have happened?

No response

WebUI and Deforum extension Commit IDs

webui 1.8
txt2vid -2024.5.24

Torch version

torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2version:

What GPU were you using for launching?

24GB

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

Local PC setup (Linux)

Settings

?

Console logs

clip_hardcode.py
AttributeError: 'Options' object has no attribute 'enable_emphasis'

Additional information

The problem was solved by adding the following code to text2vid.py

shared.opts.add_option("enable_emphasis", shared.OptionInfo(
        False, "enable_emphasis", gr.Checkbox, {'interactive':True, 'visible':True}, section=section))
@Enchante503 Enchante503 added the bug Something isn't working label May 24, 2024
@Enchante503
Copy link
Author

2024-05-25_18h10_58
2024-05-25_18h19_47

@DrJamgo
Copy link

DrJamgo commented Jul 14, 2024

Can confirm, this fixed the issue for me, too. Thanks!

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

2 participants