Instructions to use Falah/stable_diffusion_prompts_gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Falah/stable_diffusion_prompts_gen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Falah/stable_diffusion_prompts_gen", dtype=torch.bfloat16, device_map="cuda") prompt = "Hi, what can you help me with?" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
update
Browse files
README.md
CHANGED
|
@@ -54,19 +54,23 @@ print('\033[96m' + prompt + '\033[0m')
|
|
| 54 |
for i in range(len(output)):
|
| 55 |
print(tokenizer.decode(output[i], skip_special_tokens=True) + '\n')
|
| 56 |
```
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
| 58 |
a beautiful female
|
| 59 |
a beautiful female woman, and she's got the best hair in this world. I'm not saying her look is bad (I think it has to be), but my point was that when one looks at these things like we're all looking for something different about our bodies as individuals they are completely wrong; there isn't anything inherently evil with being an animal or having two legs instead of just walking on both sides of you while holding your other leg up so tightly around yourself - no matter how
|
| 60 |
|
| 61 |
-
|
| 62 |

|
| 63 |
|
| 64 |
## another generating prompts
|
| 65 |
-
|
|
|
|
| 66 |
a beautiful female and she's been in the business for over 30 years.
|
| 67 |
I've had my fair share of bad things, and I'm sure many more will befall me at some point as well… but it is one thing when you have such an incredible woman on your team that makes life so difficult to bear (aside from being very much human) while also having her back with no regard whatsoever towards any personal issues or even just trying desperately hard not too far away! And
|
| 68 |
|
| 69 |
-
|
| 70 |

|
| 71 |
|
| 72 |
--------------
|
|
|
|
| 54 |
for i in range(len(output)):
|
| 55 |
print(tokenizer.decode(output[i], skip_special_tokens=True) + '\n')
|
| 56 |
```
|
| 57 |
+
These are examples for prompts generating and testing the model with web site for the stable diffusion model
|
| 58 |
+
generating images from prompts
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
a beautiful female
|
| 62 |
a beautiful female woman, and she's got the best hair in this world. I'm not saying her look is bad (I think it has to be), but my point was that when one looks at these things like we're all looking for something different about our bodies as individuals they are completely wrong; there isn't anything inherently evil with being an animal or having two legs instead of just walking on both sides of you while holding your other leg up so tightly around yourself - no matter how
|
| 63 |
|
| 64 |
+
```
|
| 65 |

|
| 66 |
|
| 67 |
## another generating prompts
|
| 68 |
+
|
| 69 |
+
```
|
| 70 |
a beautiful female and she's been in the business for over 30 years.
|
| 71 |
I've had my fair share of bad things, and I'm sure many more will befall me at some point as well… but it is one thing when you have such an incredible woman on your team that makes life so difficult to bear (aside from being very much human) while also having her back with no regard whatsoever towards any personal issues or even just trying desperately hard not too far away! And
|
| 72 |
|
| 73 |
+
```
|
| 74 |

|
| 75 |
|
| 76 |
--------------
|