SpaceVector_v0 / app.py
LayBraid
:construction: add contributing and home
4e2f1ce
raw
history blame contribute delete
481 Bytes
import streamlit as st
import text_to_image
import home
import contributing
PAGES = {
"Home": home,
"Retrieve Images given Text": text_to_image,
"Contribute to Space Vector": contributing,
}
st.sidebar.title("Space Vector")
st.sidebar.image("space.jpeg")
st.sidebar.markdown("""
SpaceVector is a semantic search engine. It allows you to find your texts in images.
""")
selection = st.sidebar.radio("Go to", list(PAGES.keys()))
page = PAGES[selection]
page.app()