Spaces:
Runtime error
Runtime error
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() | |