Skip to content

webui-plugin improvment: group generated images by prompt, lora/hypernetworks/embedding support#70

Open
jtydhr88 wants to merge 2 commits into
Stability-AI:mainfrom
jtydhr88:webui-plugin-group-generated-images
Open

webui-plugin improvment: group generated images by prompt, lora/hypernetworks/embedding support#70
jtydhr88 wants to merge 2 commits into
Stability-AI:mainfrom
jtydhr88:webui-plugin-group-generated-images

Conversation

@jtydhr88

Copy link
Copy Markdown
Contributor

previously, only create one group for all generated images.
However they should be grouped by prompt:
image

@jtydhr88 jtydhr88 changed the title webui-plugin: group generated images by prompt webui-plugin improvment: group generated images by prompt, lora/hypernetworks/embedding support May 25, 2023
@jtydhr88

jtydhr88 commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

Regarding extra network, I am using style to place the list, I am not sure it is the right place.

About LoRA, currently this is a bug in webui with api mode, see more detail here: AUTOMATIC1111/stable-diffusion-webui#9274, until today, this issue still does not get fixed, that means, if the user want to apply LoRA, they have to mofidy webui.py by theirselves:
modules.script_callbacks.before_ui_callback()
image

@jtydhr88 jtydhr88 force-pushed the webui-plugin-group-generated-images branch from 9b85c08 to 36a33b9 Compare May 25, 2023 17:44
@harrywang

Copy link
Copy Markdown

Thanks for working on this - looking forward to test this out.

@jtydhr88

jtydhr88 commented May 28, 2023

Copy link
Copy Markdown
Contributor Author

update, a1111 updated webui to latest 1.3.0, which fixed the lora api issue, the list of loras api provided by default now, no need to change source code

@harrywang

harrywang commented Jun 2, 2023

Copy link
Copy Markdown

@jtydhr88 how can we use lora? use the <lora:lora_name:0.8> syntax? I don't see a place to see the lora models in the frontend. Thanks!

@jtydhr88

jtydhr88 commented Jun 3, 2023

Copy link
Copy Markdown
Contributor Author

Hey @harrywang you can go to settings, and choose style type from lora or hypernetwork, then you can go back and choose your Lora from style drop-down, currently I am using the style as Lora holder, I am not sure it is right place, and it only support to select one Lora at once time. If we want support multi-extras, we have to change StableStudio deep code. Right now I hardcode the weight to 1, we may need a slider to allow to change weight to other value. This PR is still pending for review.

@harrywang

Copy link
Copy Markdown

Hey @harrywang you can go to settings, and choose style type from lora or hypernetwork, then you can go back and choose your Lora from style drop-down, currently I am using the style as Lora holder, I am not sure it is right place, and it only support to select one Lora at once time. If we want support multi-extras, we have to change StableStudio deep code. Right now I hardcode the weight to 1, we may need a slider to allow to change weight to other value. This PR is still pending for review.

Thanks a lot! This is a great starting point for using lora - we will need to able to adjust weights and use multiple loras eventully :).

@Louis24

Louis24 commented Jul 26, 2024

Copy link
Copy Markdown

Hey @harrywang you can go to settings, and choose style type from lora or hypernetwork, then you can go back and choose your Lora from style drop-down, currently I am using the style as Lora holder, I am not sure it is right place, and it only support to select one Lora at once time. If we want support multi-extras, we have to change StableStudio deep code. Right now I hardcode the weight to 1, we may need a slider to allow to change weight to other value. This PR is still pending for review.

Thanks a lot! This is a great starting point for using lora - we will need to able to adjust weights and use multiple loras eventully :).

Hi, I found this style in the txt2img,
image
what is the format of import lora to style?
something like this?
"<lora: 简约扁平风格卡通背景_v1.0>"

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.

3 participants