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

test #1

Merged
merged 257 commits into from
Jun 30, 2023
Merged

test #1

merged 257 commits into from
Jun 30, 2023

Conversation

theBlaufuss
Copy link
Owner

@theBlaufuss theBlaufuss commented Jun 30, 2023

Description

  • a simple description of what you're trying to accomplish
  • a summary of changes in code
  • which issues it fixes, if any

Screenshots/videos:

Checklist:

AUTOMATIC1111 and others added 30 commits May 22, 2023 07:15
Add option to disable token counters
remove animation when pasting files into prompt
rework two dragdrop js files into one
…nting, so that it behaves like plain img2img)
…oise

Fix for #10643 (Inpainting mask sometimes not working)
Co-authored-by: catboxanon <[email protected]>
Improvements to handle VAE filenames in generated image filenames

Body:.
1) Added new line 24 to import sd_vae module.
2) Added new method get_vae_filename at lines 340-349 to obtain the VAE filename to be used for image generation and further process it to extract only the filename by splitting it with a dot symbol.
3) Added a new lambda function 'vae_filename' at line 373 to handle VAE filenames.

Reason:.
A function was needed to get the VAE filename and handle it in the program.

Test:.
We tested whether we could use this new functionality to get the expected file names.
The correct behaviour was confirmed for the following commonly distributed VAE files.
vae-ft-mse-840000-ema-pruned.safetensors -> vae-ft-mse-840000-ema-pruned
anything-v4.0.vae.pt -> anything-v4.0

ruff response:.
There were no problems with the code I added.

There was a minor configuration error in a line I did not modify, but I did not modify it as it was not relevant to this modification.
Logged.
images.py:426:56: F841 [*] Local variable `_` is assigned to but never used
images.py:432:43: F841 [*] Local variable `_` is assigned to but never used

Impact:.
This change makes it easier to retrieve the VAE filename used for image generation and use it in the programme.
AUTOMATIC1111 and others added 29 commits June 7, 2023 07:49
link footer API to Wiki when API is not active
Update shared.py
Generate Forever during generation
Prequisite to fixing Outpainting MK2 mask blur bug.
Fixes unexpected noise in non-outpainted borders when using MK2 script.
Forcing Torch Version to 1.13.1 for RX 5000 series GPUs
Split mask blur into X and Y components, patch Outpainting MK2 accordingly
Don't die when a LoRA is a broken symlink
…generation

Allow activation of Generate Forever during generation
This avoid some cryptic errors brought by accidental spaces around urls
Strip whitespaces from URL and dirname prior to extension installation
Use os.makedirs(..., exist_ok=True)
Zoom and pan: More options in the settings and improved error output
@theBlaufuss theBlaufuss merged commit cc40430 into theBlaufuss:master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.