stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Feature Request]: Multilingual prompts
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Would it be possible to integrate a multilingual pipeline ? Then even users who do not speak english could generate images with stable diffusion.
I have seen an example from diffusers. I could implement the pipeline myself, but I'm not sure if I need to include it as a custom script or develop an extension for it.
Proposed workflow
- Add an option in the settings to activate multilingual prompts
- If the option is activated, the MBart50 tokenizer and model is used in the diffuser pipeline.
Additional information
https://twitter.com/juancopi81/status/1590366617044910080 https://huggingface.co/spaces/juancopi81/multilingual-stable-diffusion https://github.com/huggingface/diffusers/tree/main/examples/community#multilingual-stable-diffusion-pipeline
@sylence175 that would be an awesome addition!