Conversation
issues that are in both extensions
code like this shoud work # save original settings
original_directories_filename_pattern = shared.opts.directories_filename_pattern
original_save_to_dirs = shared.opts.save_to_dirs
if chk_variation_folders:
original_directories_filename_pattern
try:
if shared.opts.save_to_dirs:
shared.opts.directories_filename_pattern = shared.opts.directories_filename_pattern + '/[datetime<%Y%m%d-%H%M%S>]'
else:
shared.opts.directories_filename_pattern = '[datetime<%Y%m%d-%H%M%S>]'
shared.opts.save_to_dirs = Ture
# image save after this before will be saed into sub dir
finally:
# restore original setting in final block to make sure the setting is restored
shared.opts.directories_filename_pattern = original_directories_filename_pattern
shared.opts.save_to_dirs = original_save_to_dirs
using
your code structure can lead to potential issues in the future best restructure it like so in best_to_have_one_file_only.py import your_libs_under_unique_name_across_webuiissue with
|
|
what does |
|
MarcusNyne maybe |
|
@w-e-w , thank you for taking the time to offer comprehensive feedback. Somehow I didn't notice your comment, but I noticed when @light-and-ray commented. Many of your comments are highly technical and I will need to review in detail. I will offer some initial responses, though.
I found a bug when a 0 is entered for certain configurations. I'll fix the bug and review your feedback in more detail. Again, thanks for taking the time to review my extensions. |
@light-and-ray , are you available on discord? I'm working in the extensions update code which doesn't seem to work for branches. I can see you have worked in this area in March. Can we have a conversation on discord about it? My username is marcusnyne. I see dry_run=True on the fetch call .. not sure why this is supposed to work since FETCH_HEAD is only updated on installation. Searched for you in the webui-dev channel but couldn't find you. |
|
I'm not interested in it |
sorry I believe have accidentally ping light-and-ray |
|
@w-e-w, I completed the changes to the extensions. Here is a comprehensive response to your feedback. Thank you for the detailed feedback. Changes
Other Feedback
|
|
I still think the Stable Diffusion: Tweak Weights is working very weirdly as mentioned above but I don't want to care anymore so I'll just let that is an index and let you deal with it |
|
@w-e-w , I wasn't able to reproduce your problem with Tweak Weights. Can you show me an example of a prompt that will reproduce the problem? I appreciate your help and would like to fix it if I can reproduce it. Thanks |


Info
There are two extensions included here. They have similar functionality but have key differences. I have been using them extensively and found them to be very useful. There is detailed documentation in README.md. Please review for more details. The direct github urls are:
https://github.com/MarcusNyne/sd-scramble-prompts-m9
https://github.com/MarcusNyne/sd-tweak-weights-m9
Feel free to discord me any questions. @MarcusNyne
Thank you!!!
Checklist:
Readme.mdindex.jsonandextension_template.jsonhave not been modified.entryis placed in theextensionsdirectory with the.jsonfile extension.