Instructions to use jibhug/Jibs_European_Face_Fix_for_ERNIE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jibhug/Jibs_European_Face_Fix_for_ERNIE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("baidu/ERNIE-Image-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("jibhug/Jibs_European_Face_Fix_for_ERNIE") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| base_model: baidu/ERNIE-Image-Turbo | |
| instance_prompt: null | |
| license: apache-2.0 | |
| # Jibs European Face Fix for ERNIE | |
| <Gallery /> | |
|  | |
|  | |
|  | |
| ## Model description | |
| Changes ERNIEs defualt face output to European faces rather than Asian face a lot of the time. | |
| ## Download model | |
| [Download](/jibhug/Jibs_European_Face_Fix_for_ERNIE/tree/main) them in the Files & versions tab. | |