ferret / app.py
g8a9's picture
Edit logo
43277af
raw
history blame
322 Bytes
import streamlit as st
import single
import corpus
from PIL import Image
PAGES = {
"Single Explanation": single,
"Corpus Explanation": corpus,
}
# st.sidebar.title("Explore ferret!")
logo = Image.open("static/logo.png")
st.sidebar.image(logo)
page = st.sidebar.radio("", list(PAGES.keys()))
PAGES[page].body()