Keiraj commited on
Commit
58752cf
·
verified ·
1 Parent(s): 06fa28d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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!")