Spaces:
Runtime error
Runtime error
import streamlit as st | |
import text_to_image | |
PAGES = { | |
"Retrieve Images given Text": text_to_image, | |
} | |
st.sidebar.title("Space Vector") | |
st.sidebar.image("thumbnail.jpg") | |
st.sidebar.markdown(""" | |
Description | |
""") | |
selection = st.sidebar.radio("Go to", list(PAGES.keys())) | |
page = PAGES[selection] | |
page.app() | |