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