-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
38 lines (29 loc) · 888 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import streamlit as st
import streamlit.components.v1 as stc
from eda_app import run_eda_app
from ml_app import run_ml_app
html_temp = """
<div style="">
<h1>Cyberbullying Text Binary Classification</h1>
</div>
"""
desc_temp = """
Cyberbullying Text Binary Classification
This app is used to know the step of Cyberbullying Classification
### APP Content
- Exploratory Data Analysis Preprocessing
- Machine Learning Section
"""
def main():
st.markdown(html_temp, unsafe_allow_html=True)
menu = ["Home", "EDA Preprocessing", "ML Section"]
choice = st.sidebar.selectbox("Menu", menu)
if choice == "Home":
st.subheader("Home")
st.markdown(desc_temp, unsafe_allow_html=True)
elif choice == "EDA Preprocessing":
run_eda_app()
elif choice == "ML Section":
run_ml_app()
if __name__ == '__main__':
main()