webplip / app.py
vinid's picture
image2image search
7987133
raw
history blame
292 Bytes
import home
import text2image
import image2image
import streamlit as st
st.sidebar.title("Explore our PLIP Demo")
PAGES = {
"Introduction": home,
"Text to Image": text2image,
"Image to Image": image2image,
}
page = st.sidebar.radio("", list(PAGES.keys()))
PAGES[page].app()