Text2img / app.py
3laa2's picture
Create app.py
64ea77f
raw
history blame
246 Bytes
import streamlit as st
import cv2 as cv
st.write("""
# New App
Trying
""")
Prompt = st.text_input("prompt","")
st.write(f"'Description' == {Prompt}")
area = st.text_area("Area",'')
image = pipe(area).images[0]
st.image(cv.imread(image))