Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Larisa25
/
DR

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use Larisa25/DR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Larisa25/DR 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-schnell", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Larisa25/DR")
    
    prompt = "If I'm training a model to draw a picture in the style. - Look for dresses with a long train or extra fabric that can be spread out around the model.    - Before taking the photo, arrange the gown carefully around the model in a radial pattern to mimic the flow and spread of water.    - You might need assistants or a stylist on hand to help with positioning the fabric for the desired effect.    - A higher vantage point can help capture the spread of the dress fully. Consider using a step ladder or slightly elevated position to shoot from above.    - Alternatively, you can shoot from ground level to emphasize the dramatic spread of the dress against the starkness of the snowy background.    - Ensure that the model is centrally positioned so that the dress can radiate outward from her, creating a symmetrical \"waterfall\" effect.    - Use leading lines by positioning the dress to guide the viewer's eyes from the edges of the frame towards the model.    - Choose a day with minimal wind to maintain control over the draping of the gown unless a light breeze helps in creating a more dynamic flow without disrupting the setup.    - Shoot when the snow is even and undisturbed to maximize the contrast between the vibrant red dress and the white landscape. 1. Shallow Depth of Field:    - Use a wider aperture (like f/4) if you want a shallower depth of field to slightly blur the background and bring the dress into sharp focus."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
DR
16.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Larisa25's picture
Larisa25
initial commit
2260ba2 verified over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    13.9 kB
    initial commit over 1 year ago