|
|
"card": "---\ntags:\n- text-to-image\n- flux\n- lora\n- diffusers\n- template:sd-lora\n- ai-toolkit\nwidget:\n- text: Bruce Lee at the Lion Cafe, multicolored hair, happy face, real photo, hawai\n t-short\n output:\n url: samples/1746175198466__000001126_0.jpg\n- text: A Bruce Lee as professional street fighter, cool face expression, urban\n street, muscle body\n output:\n url: samples/1746175228605__000001126_1.jpg\n- text: A Bruce Lee as president of Hong Kong, purple suit, Jungkook hairstyle and\n earrings\n output:\n url: samples/1746175258846__000001126_2.jpg\nbase_model: black-forest-labs/FLUX.1-dev\ninstance_prompt: Bruce Lee\nlicense: other\nlicense_name: flux-1-dev-non-commercial-license\nlicense_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md\n---\n\n# bruce-lee\nModel trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)\n<Gallery />\n\n## Trigger words\n\nYou should use `Bruce Lee` to trigger the image generation.\n\n## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.\n\nWeights for this model are available in Safetensors format.\n\n[Download](/openfree/bruce-lee/tree/main) them in the Files & versions tab.\n\n## Use it with the [\ud83e\udde8 diffusers library](https://github.com/huggingface/diffusers)\n\n```py\nfrom diffusers import AutoPipelineForText2Image\nimport torch\n\npipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')\npipeline.load_lora_weights('openfree/bruce-lee', weight_name='bruce-lee.safetensors')\nimage = pipeline('Bruce Lee at the Lion Cafe, multicolored hair, happy face, real photo, hawai t-short').images[0]\nimage.save(\"my_image.png\")\n```\n\nFor 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)\n\n", |