Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
st.
|
4 |
-
# New App
|
5 |
-
|
6 |
-
Trying
|
7 |
-
|
8 |
-
""")
|
9 |
|
10 |
area = st.text_area("Area",'')
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
-
st.image(
|
|
|
1 |
import streamlit as st
|
2 |
+
from PIL import Image
|
3 |
|
4 |
+
st.title(" New App")
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
area = st.text_area("Area",'')
|
7 |
|
8 |
+
if area:
|
9 |
+
image = pipe(area).images[0]
|
10 |
+
else :
|
11 |
+
print("No")
|
12 |
+
|
13 |
+
im = Image.open(image)
|
14 |
|
15 |
+
st.image(im)
|