-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
20 lines (16 loc) · 824 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import streamlit as st
import importlib
# Dictionary of pages
pages = {
"Q1 What is subjective flow score for different conditions?": "page1",
"Q2 What is EEG signals(PSD value) like among different conditions for a specific time segment and frequency band?": "page2",
"Q3 What is correlation between EEG signals and subjective flow score for a specific frequency band and condition within certain time segments?": "page3",
"Q4 How can we predict subjective flow score using EEG signals through a deep learning model ?": "page4"
# Add more pages as needed
}
# Sidebar selection
page = st.sidebar.selectbox("Select a page:", options=list(pages.keys()))
# Import the selected page module and call its show function
if page:
page_module = importlib.import_module(pages[page])
page_module.show()