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("space.jpeg") | |
st.sidebar.markdown(""" | |
Description | |
""") | |
selection = st.sidebar.radio("Go to", list(PAGES.keys())) | |
page = PAGES[selection] | |
page.app() | |