TWIGMA / app.py
Yiqun Chen
Add .gitattributes
d1a5e77
raw
history blame
616 Bytes
import home
import text2image
import image2image
import visualization
import streamlit as st
import details
st.set_page_config(layout="wide")
st.sidebar.title("TWIGMA")
st.sidebar.markdown("## Menu")
PAGES = {
"Introduction": home,
"Investigate themes of TWIGMA images": visualization,
}
page = st.sidebar.radio("", list(PAGES.keys()))
st.sidebar.markdown("## Links")
st.sidebar.markdown("[TWIGMA Data](https://yiqunchen.github.io/TWIGMA/)")
st.sidebar.markdown("[TWIGMA Preprint (to-be-added)]")
st.sidebar.markdown("[TWIGMA Analysis Code](https://github.com/yiqunchen/TWIGMA_code)")
PAGES[page].app()