Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

restufiqih
/
modeltesting

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

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

  • Libraries
  • Diffusers

    How to use restufiqih/modeltesting with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("restufiqih/modeltesting")
    
    prompt = "halo"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
modeltesting / images
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
restufiqih's picture
restufiqih
Add 2 files
9c16f91 verified almost 2 years ago
  • image 2.png
    244 kB
    xet
    Add 2 files almost 2 years ago