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

Jonjew
/
GemmaChan

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

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

  • Libraries
  • Diffusers

    How to use Jonjew/GemmaChan 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", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Jonjew/GemmaChan")
    
    prompt = "The image is a promotional poster for the film \"FuHao,\" released in 2020. It features a close-up of a young woman with a serious, determined expression. She has long, dark hair that is slightly windblown, and her face is partially obscured by the blade of a sword. The sword is prominently displayed, running diagonally across the image from the left side to the right, and it is adorned with intricate, golden Chinese characters. The blade is a deep, rich red color, contrasting starkly with the woman's fair skin. She is wearing traditional Chinese clothing, specifically a red robe with intricate embroidery, which adds to the cultural authenticity of the image. The background is a deep red hue, giving the entire image a dramatic and intense feel. The poster also prominently displays the \"SD\" logo in yellow at the bottom, with the release date \"2020.4.24\" in Chinese characters. The overall style of the poster is cinematic and visually striking, capturing the essence of the film's themes and characters.,Gemma_Chan,<lora:Gemma_Chan_Flux_V1-000002:1>"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
GemmaChan
307 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Jonjew's picture
Jonjew
Add 2 files
a2c9970 verified over 1 year ago
  • images
    Add 2 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • Gemma_Chan_Flux_V1-000002.safetensors
    307 MB
    xet
    Add 2 files over 1 year ago
  • README.md
    1.75 kB
    initial commit over 1 year ago