Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4",
|
|
12 |
|
13 |
|
14 |
if len(area) > 5:
|
15 |
-
image = pipe(area).images
|
16 |
-
|
|
|
17 |
st.image(im)
|
18 |
|
|
|
12 |
|
13 |
|
14 |
if len(area) > 5:
|
15 |
+
image = pipe(area).images
|
16 |
+
print(len(image),type(image),image.shape)
|
17 |
+
im = Image.open(image[0])
|
18 |
st.image(im)
|
19 |
|