File size: 656 Bytes
61448a4
 
7987133
7ee7b26
af14fe8
08fb6d9
7987133
34d1458
af14fe8
7ee7b26
08fb6d9
af14fe8
61448a4
 
08fb6d9
61448a4
7987133
7ee7b26
61448a4
af14fe8
61448a4
08fb6d9
 
 
 
 
61448a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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()