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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

appriai
/
modelgen-v2-lk

Text-to-Image
Diffusers
English
flux
lora
sd-lora
Model card Files Files and versions
xet
Community
2

Instructions to use appriai/modelgen-v2-lk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use appriai/modelgen-v2-lk 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-dev", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("appriai/modelgen-v2-lk")
    
    prompt = "apprimdlgen2"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
modelgen-v2-lk / sample
866 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
nilupulmanodya's picture
nilupulmanodya
Init commit
a2826b1 over 1 year ago
  • 0.png
    419 kB
    Init commit over 1 year ago
  • 1.png
    148 kB
    Init commit over 1 year ago
  • 2.png
    186 kB
    Init commit over 1 year ago
  • 3.png
    113 kB
    xet
    Init commit over 1 year ago