Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from diffusers import DiffusionPipeline
|
2 |
+
pipe = DiffusionPipeline.from_pretrained("stable-diffusion-v1-5/stable-diffusion-v1-5")
|
3 |
+
prompt = input("What do you want to see?")
|
4 |
+
image = pipe(prompt).images[0]
|
5 |
+
image
|
6 |
+
print("How cool is this!")
|