File size: 728 Bytes
996aa19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()