Spaces:
Sleeping
Sleeping
import streamlit as st | |
from generate_poems import generate_poems_page | |
from analyze_poems import analyze_poems_page | |
from graph_guided_learning import graph_guided_learning_page | |
from individual_analyzes import analyze_individual_page | |
st.title("Poem Analysis and Generation") | |
# Sidebar for navigation | |
page = st.sidebar.selectbox("Choose a page", ["Overview sentiment analyzsis", "individual sentiment analyzis", "Generate Poems", "Graph Guided Learning"]) | |
if page == "Overview sentiment analyzsis": | |
analyze_poems_page() | |
elif page == "individual sentiment analyzis": | |
analyze_individual_page() | |
elif page == "Generate Poems": | |
generate_poems_page() | |
elif page == "Graph Guided Learning": | |
graph_guided_learning_page() | |