3laa2 commited on
Commit
80ce9f5
·
1 Parent(s): a3ad202

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -5,10 +5,10 @@ st.title(" New App")
5
 
6
  area = st.text_area("Area",'')
7
 
8
- # if len(area) > 5:
9
- # image = pipe(area).images[0]
10
- # im = Image.open(image)
11
- # st.image(im)
12
- # else :
13
- # st.text_input("No","No")
14
 
 
5
 
6
  area = st.text_area("Area",'')
7
 
8
+ if len(area) > 5:
9
+ image = pipe(area).images[0]
10
+ im = Image.open(image)
11
+ st.image(im)
12
+ else :
13
+ st.text_input("No","No")
14