srisweet's picture
Removed logo caption
27441d6
raw
history blame
482 Bytes
import streamlit as st
import image2text
import text2image
import home
import examples
from PIL import Image
PAGES = {
"Introduction": home,
"Text to Image": text2image,
"Image to Text": image2text,
"Examples & Applications": examples,
}
st.sidebar.title("Explore our CLIP-Italian demo")
logo = Image.open("static/img/clip_italian_logo.png")
st.sidebar.image(logo)
#, caption="CLIP-Italian logo"
page = st.sidebar.radio("", list(PAGES.keys()))
PAGES[page].app()