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

EmpSurak
/
The-Next-Generation

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

Instructions to use EmpSurak/The-Next-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use EmpSurak/The-Next-Generation 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/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("EmpSurak/The-Next-Generation")
    
    prompt = "star trek, the next generation, john de lancie as klingon warrior, q, solo, big grin, open mouth, sharp long teeth, fangs, armor, starship bridge"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
The-Next-Generation
233 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
EmpSurak's picture
EmpSurak
Upload 2024-11-13_17-09-54_8849.png
d29ea97 verified over 1 year ago
  • images
    Upload 2024-11-13_17-09-54_8849.png over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    1.33 kB
    Update README.md over 1 year ago
  • TNG-v3.0.safetensors
    228 MB
    xet
    Add 4 files over 1 year ago