Instructions to use Norod78/ms-fluentui-style-emoji-flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Norod78/ms-fluentui-style-emoji-flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Norod78/ms-fluentui-style-emoji-flux") prompt = "The girl with a pearl earring emoji " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| license: other | |
| license_name: bespoke-lora-trained-license | |
| license_link: >- | |
| https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=False | |
| tags: | |
| - text-to-image | |
| - stable-diffusion | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - migrated | |
| - emoji | |
| - style | |
| - fluentui | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: emoji | |
| widget: | |
| - text: 'The girl with a pearl earring emoji ' | |
| output: | |
| url: 45639568.jpeg | |
| - text: 'Marge Simpson emoji ' | |
| output: | |
| url: 45639566.jpeg | |
| - text: 'The Starry Night by Vincent van Gogh emoji ' | |
| output: | |
| url: 45639567.jpeg | |
| - text: >- | |
| emoji woman playing the guitar, on stage, singing a song, laser lights, punk | |
| rocker | |
| output: | |
| url: 45639565.jpeg | |
| - text: >- | |
| emoji woman with red hair, playing chess at the park, bomb going off in the | |
| background | |
| output: | |
| url: 45639569.jpeg | |
| - text: >- | |
| emoji horse is a DJ at a night club, fish eye lens, smoke machine, lazer | |
| lights, holding a martini | |
| output: | |
| url: 45639571.jpeg | |
| - text: 'A cute dog emoji ' | |
| output: | |
| url: 45639564.jpeg | |
| - text: 'Snoop Dogg emoji ' | |
| output: | |
| url: 45639572.jpeg | |
| - text: 'Wonderwoman emoji ' | |
| output: | |
| url: 45639574.jpeg | |
| - text: 'American gothic by Grant Wood emoji ' | |
| output: | |
| url: 45639570.jpeg | |
| - text: 'Elsa from frozen emoji ' | |
| output: | |
| url: 45639573.jpeg | |
| - text: 'emoji bear building a log cabin in the snow covered mountains ' | |
| output: | |
| url: 45639575.jpeg | |
| - text: >- | |
| emoji man showing off his cool new t shirt at the beach, a shark is jumping | |
| out of the water in the background | |
| output: | |
| url: 45639577.jpeg | |
| - text: 'Rick Sanchez emoji ' | |
| output: | |
| url: 45639578.jpeg | |
| - text: very silly emoji | |
| output: | |
| url: images/example_tcm6dt59t.png | |
| # ms fluentui style Emoji [FLUX] | |
| <Gallery /> | |
| ([CivitAI](https://civitai.com/models/1039822)) | |
| ## Model description | |
| <p>Trained upon <a rel="ugc" href="https://github.com/microsoft/fluentui-emoji/tree/main">Microsoft's FluentUI</a>'s 3D Emoji asset collection. Trained with captions where each caption was the original file name with 'emoji' appended to it. So <strong>use <em>emoji </em>in your prompts</strong> to trigger the style. I'm aware that Flux is already very good with generating. emoji but I wanted to see how it will adapt to MS's FluentUI's style:</p><p><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e053dc92-42ee-4cdc-9740-94c5a8afd0ff/width=525/e053dc92-42ee-4cdc-9740-94c5a8afd0ff.jpeg" />For reasons I could not figure (or solve), it will generate a very blurry result on occasion. I was not able to find any solution to this other than simply trying again with a different seed. Sorry for that</p> | |
| ## Trigger words | |
| You should use `emoji` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Norod78/ms-fluentui-style-emoji-flux/tree/main) them in the Files & versions tab. | |
| ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| device = "cuda" if torch.cuda.is_available() else "cpu" | |
| pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device) | |
| pipeline.load_lora_weights('Norod78/ms-fluentui-style-emoji-flux', weight_name='ms-fluentui_emoji_flux_lora_000001750.safetensors') | |
| image = pipeline('Rick Sanchez emoji ').images[0] | |
| ``` | |
| For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) | |