3laa2 commited on
Commit
420d9c0
·
1 Parent(s): 991b2d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -11,9 +11,8 @@ pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4",
11
 
12
 
13
  if len(area) > 5:
14
- image = pipe(area).images
15
- # print(len(image),type(image))
16
- im = Image.open(image[0])
17
  st.image(im)
18
  else:
19
  st.text_input("NNNN",'OOOOO')
 
11
 
12
 
13
  if len(area) > 5:
14
+ image = pipe(area).images[0]
15
+ im = Image.open(image)
 
16
  st.image(im)
17
  else:
18
  st.text_input("NNNN",'OOOOO')