Update app.py
Browse fileschanged scope of image
app.py
CHANGED
@@ -6,5 +6,5 @@ if(prompt):
|
|
6 |
st.spinner(text='Generating your pokemon...')
|
7 |
pipe = DiffusionPipeline.from_pretrained("justinpinkney/pokemon-stable-diffusion")
|
8 |
image = pipe(prompt).images[0]
|
9 |
-
if(image):
|
10 |
-
|
|
|
6 |
st.spinner(text='Generating your pokemon...')
|
7 |
pipe = DiffusionPipeline.from_pretrained("justinpinkney/pokemon-stable-diffusion")
|
8 |
image = pipe(prompt).images[0]
|
9 |
+
if(image):
|
10 |
+
st.image(image)
|