1. 28 May, 2023 14 commits
  2. 27 May, 2023 3 commits
  3. 26 May, 2023 4 commits
  4. 25 May, 2023 10 commits
  5. 24 May, 2023 4 commits
  6. 23 May, 2023 5 commits
    • Kohaku-Blueleaf's avatar
      Fix ruff error · 27962ded
      Kohaku-Blueleaf authored
      27962ded
    • AUTOMATIC's avatar
      a6e653be
    • AUTOMATIC's avatar
      0e1c4199
    • Kohaku-Blueleaf's avatar
      Use type to determine if it is enable · 72377b02
      Kohaku-Blueleaf authored
      72377b02
    • fumitaka.yano's avatar
      Subject:. · 1db7d212
      fumitaka.yano authored
      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.
      1db7d212