Comments (9)
横からで申し訳ありませんが、ui-config.json
の"customscript/negpip.py/txt2img/active/value"
の値をtrueにするのはどうでしょうか?
from sd-webui-negpip.
横からで申し訳ありませんが、
ui-config.json
の"customscript/negpip.py/txt2img/active/value"
の値をtrueにするのはどうでしょうか?
情報ありがとうございます!指定の値を書き換えてみたところ、確かに初期値がオンになるようになりました。
この機構の存在は知りませんでした。
私の要望はこれで満たされておりますが、他にも同様に知らない人がいるかもしれませんので、README等に情報記載いただくか、やはりUI上で記憶オンオフできる設定があってもいいかな?と思いました。
このため、一応作者様にご意見いただけるまでIssueはそのままオープンにしておきます。
from sd-webui-negpip.
私もui-config.json
のcustomscript/negpip.py/txt2img/active/value
をいじるのを推奨したいところでしたが、
慣れていない人も多いと思うので設定できるボタンを作りました。
from sd-webui-negpip.
Webui -> Settings -> Defaults
WebUI状態保存の機能があります
2023-10-18.13_22_45_636.chrome.mp4
from sd-webui-negpip.
ご対応ありがとうございました!
更新してみたのですが、WebUI起動時に以下のエラーが出て、拡張機能が使えなくなってしまっているようです。
*** Error loading script: negpip.py
Traceback (most recent call last):
File "C:\stable-diffusion-webui\modules\scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\stable-diffusion-webui\modules\script_loading.py", line 10, 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:\stable-diffusion-webui\extensions\sd-webui-negpip\scripts\negpip.py", line 14, in <module>
import scripts.attention
ModuleNotFoundError: No module named 'scripts.attention'
from sd-webui-negpip.
Pythonは3.10を使用しています。
from sd-webui-negpip.
凡ミスでした。
今は直ってます。
from sd-webui-negpip.
@w-e-w
そのような方法があるとは気づいていませんでした。
ありがとうございます!
from sd-webui-negpip.
さっそくの修正ご対応ありがとうございました。
WebUI自体の設定保存の情報もいただきましたが、拡張機能部分に設定が設置されているのもわかりやすくて有用と思います。
これにてクローズさせていただきます。
from sd-webui-negpip.
Related Issues (20)
- Can just put it in the settings? HOT 3
- I don't know what "true" and "false" mean by toggle.
- Uses wrong path for ui-config.json HOT 2
- Extension disables hires prompt box HOT 1
- 当与tiled diffusion(multidiffusion)同时启用时 报错“Sizes of tensors must match except in dimension”
- Auto deactivate extension when prompt doesn't contain negative weights HOT 3
- __pycache__ folder in repository HOT 1
- If I put a minus in a negative prompt, does it apply as a positive prompt? HOT 1
- Incompatible with Regional Prompter HOT 5
- Conflict with Tiled Diffusion & VAE HOT 1
- Extension fails when using Textual Embeddings with negative weights HOT 2
- Incompatibility with SD.Next HOT 1
- Crashes A1111 on M1 Mac (MPS error) HOT 1
- HiRes Fix時、高解像度step数を0にしているとエラー? HOT 3
- Technical explanation?
- support for Textual Embeddings?
- api call HOT 1
- "NoneType" object is not subscriptable HOT 5
- Seem not working for all checkpoints
- Error with fp8 weight option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-webui-negpip.