Instructions to use DesignFactory/DF_Art with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DesignFactory/DF_Art with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Efficient-Large-Model/SANA1.5_4.8B_1024px", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DesignFactory/DF_Art") prompt = "a digital illustration of A powerful, elderly male figure, likely a mythological god, is depicted. He is of light-skinned ethnicity and appears to be in his old age, with a large, flowing, white beard and shoulder-length, slightly graying hair. He wears a light, draped garment resembling a toga, and a golden laurel wreath adorns his head. His eyes are a striking, glowing purple, giving a fierce, yet regal, expression. The character's muscles and physique are pronounced, suggesting immense strength. He is positioned in the mid-frame, facing directly at the viewer. His body is oriented straight on. The god appears to be in a standing pose, with his arms slightly bent, and his gaze intense. The environment is a stylized, rich, dark background of muted purples and reds. The lighting is dramatic, focused on the god, highlighting his features and the texture of his beard and clothing. The perspective is slightly above and in front of the god. The art style is stylized, digital, with smooth lines and blended colors, evocative of a video game character or a comic book illustration. A golden-toned shoulder guard is visible, as well as some lighting effects suggestive of power. The overall impression is one of strength, wisdom, and authority." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!