Update README.md
Browse files![Beetles_submarine.jpeg](https://s3.amazonaws.com/moonup/production/uploads/1673019576047-627cebc6cecd686d4cd7411c.jpeg)
README.md
CHANGED
@@ -34,8 +34,14 @@ The below example uses a prompt similar to *lobster swimming in a fjord* to gene
|
|
34 |
This represents a generated Viking warrior on or near a Fjord. The prompt used to generate is **prompt**=*a viking warrior on a fjord*:
|
35 |
![viking_on_fjord.jpeg](https://s3.amazonaws.com/moonup/production/uploads/1673019199954-627cebc6cecd686d4cd7411c.jpeg)
|
36 |
|
|
|
37 |
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
```python
|
41 |
from diffusers import StableDiffusionPipeline
|
@@ -44,3 +50,9 @@ pipeline = StableDiffusionPipeline.from_pretrained('StatsGary/norweigen-fjords-f
|
|
44 |
image = pipeline(prompt='a viking on a fjord').images[0]
|
45 |
image
|
46 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
This represents a generated Viking warrior on or near a Fjord. The prompt used to generate is **prompt**=*a viking warrior on a fjord*:
|
35 |
![viking_on_fjord.jpeg](https://s3.amazonaws.com/moonup/production/uploads/1673019199954-627cebc6cecd686d4cd7411c.jpeg)
|
36 |
|
37 |
+
### A yellow submarine (inspired by The Beetles)
|
38 |
|
39 |
+
Here, we see a yellow submarine inspired by the popular Beetles album. The prompt used to generate is **prompt**=a beetles like yellow submarines on a fjord*:
|
40 |
+
![Beetles_submarine.jpeg](https://s3.amazonaws.com/moonup/production/uploads/1673019576047-627cebc6cecd686d4cd7411c.jpeg)
|
41 |
+
|
42 |
+
## Generating your own predictions
|
43 |
+
|
44 |
+
The following Python code will allow you to get up and running quickly, just replace the *prompt* field for your own generation, wait for HuggingFace to compute and you should have your own Stable Diffusion object generated against a backdrop of the fjords. Idyllic!
|
45 |
|
46 |
```python
|
47 |
from diffusers import StableDiffusionPipeline
|
|
|
50 |
image = pipeline(prompt='a viking on a fjord').images[0]
|
51 |
image
|
52 |
```
|
53 |
+
|
54 |
+
## Supporting article
|
55 |
+
|
56 |
+
I have undertaken a blog to explain this:
|
57 |
+
|
58 |
+
- Fjord stable diffusion model: https://hutsons-hacks.info/stable-diffusion-model-for-generating-images-of-fjords
|