AlexWortega commited on
Commit
77957a4
1 Parent(s): c6db57c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +74 -1
README.md CHANGED
@@ -1,3 +1,76 @@
1
  ---
2
- license: openrail
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - stable-diffusion
6
+ - text-to-image
7
+ license: creativeml-openrail-m
8
+ inference: true
9
+
10
  ---
11
+
12
+ # Anime Diffusion
13
+
14
+ Anime Diffusion is a latent text-to-image diffusion model trained on
15
+
16
+
17
+ # Gradio & Colab
18
+
19
+
20
+ ## Model Description
21
+
22
+ ## License
23
+
24
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
25
+ The CreativeML OpenRAIL License specifies:
26
+
27
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
28
+ 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
29
+ 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)
30
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
31
+
32
+ ## Downstream Uses
33
+
34
+ This model can be used for entertainment purposes and as a generative art assistant.
35
+
36
+ ## Example Code
37
+
38
+ ```python
39
+ import torch
40
+ from torch import autocast
41
+ from diffusers import StableDiffusionPipeline
42
+
43
+ pipe = StableDiffusionPipeline.from_pretrained(
44
+ 'AlexWortega/AnimeDiffuion',
45
+ torch_dtype=torch.float32
46
+ ).to('cuda')
47
+
48
+ negative_prompt = """low-res, duplicate, poorly drawn face, ugly, undetailed face"""
49
+ d = 'white girl'
50
+ 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"
51
+ num_samples = 1
52
+
53
+ with torch.inference_mode():
54
+ images = pipe([prompt] * num_samples,
55
+ negative_prompt = [negative_prompt]*num_samples,
56
+ height=512, width=512,
57
+ num_inference_steps=50,
58
+ guidance_scale=8,
59
+ ).images
60
+
61
+
62
+
63
+ images[0].save("test.png")
64
+ ```
65
+
66
+ ## Team Members and Acknowledgements
67
+
68
+ This project would not have been possible without the incredible work by the [CompVis Researchers](https://ommer-lab.com/).
69
+
70
+ - [Anthony Mercurio](https://github.com/harubaru)
71
+ - [Salt](https://github.com/sALTaccount/)
72
+ - [Sta @ Bit192](https://twitter.com/naclbbr)
73
+
74
+ In order to reach us, you can join our
75
+
76
+ [![My tg channel]](https://t.me/lovedeathtransformers)