Text2img / app.py
3laa2's picture
Update app.py
2691f07
raw
history blame
202 Bytes
import streamlit as st
from PIL import Image
st.title(" New App")
area = st.text_area("Area",'')
if area:
image = pipe(area).images[0]
else :
print("No")
im = Image.open(image)
st.image(im)