File size: 338 Bytes
2893724
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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, caption="ferret")

page = st.sidebar.radio("", list(PAGES.keys()))
PAGES[page].body()