File size: 481 Bytes
acafb47
5ddf50c
4e2f1ce
 
 
acafb47
5ddf50c
4e2f1ce
5ddf50c
4e2f1ce
5ddf50c
236d1cb
5ddf50c
6000483
5ddf50c
4e2f1ce
5ddf50c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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()