AnimeDiffusion / README.md
Noizze's picture
Ready.md
317cd00
|
raw
history blame
2.51 kB
metadata
language:
  - en
tags:
  - stable-diffusion
  - text-to-image
license: creativeml-openrail-m
inference: true

Anime Diffusion

Anime Diffusion is a latent text-to-image diffusion model trained on

Gradio & Colab

Model Description

License

This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies:

  1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
  2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
  3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here

Downstream Uses

This model can be used for entertainment purposes and as a generative art assistant.

Example Code

import torch
from torch import autocast
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained(
    'AlexWortega/AnimeDiffuion',
    torch_dtype=torch.float32
).to('cuda')

negative_prompt = """low-res, duplicate, poorly drawn face, ugly, undetailed face"""
d = 'white girl'
prompt = f"1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt" 
num_samples = 1

with  torch.inference_mode():
    images = pipe([prompt] * num_samples,
                  negative_prompt = [negative_prompt]*num_samples,
                  height=512, width=712,
                  num_inference_steps=50,
                  guidance_scale=8,
                  ).images


    
images[0].save("test.png")

Team Members and Acknowledgements

This project would not have been possible without the incredible work by the CompVis Researchers.

In order to reach us, you can join our

![My tg channel]