webplip / app.py
vinid's picture
some updates
08fb6d9
raw
history blame
656 Bytes
import home
import text2image
import image2image
import visualization
import streamlit as st
import details
st.set_page_config(layout="wide")
st.sidebar.title("WebPLIP")
st.sidebar.markdown("## Menu")
PAGES = {
"Introduction": home,
"Details": details,
"Text to Image": text2image,
"Image to Image": image2image,
"Visualization": visualization,
}
page = st.sidebar.radio("", list(PAGES.keys()))
st.sidebar.markdown("## Links")
st.sidebar.markdown("[PLIP Model](https://huggingface.co/vinid/plip)")
st.sidebar.markdown("[OpenPath Dataset]()")
st.sidebar.markdown("[PLIP Code](https://github.com/vinid/path_eval)")
PAGES[page].app()