Update app.py
Browse files
app.py
CHANGED
@@ -1,32 +1,32 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import eda
|
3 |
-
import prediction
|
4 |
-
from PIL import Image
|
5 |
-
|
6 |
-
img1 = Image.open('balls.jpg')
|
7 |
-
|
8 |
-
page = st.sidebar.selectbox('Choose Page: ',
|
9 |
-
('Landing Page','Data Exploration','Data Prediction'))
|
10 |
-
|
11 |
-
if page == 'Landing Page':
|
12 |
-
st.title('FIFA 2022 Player Rating Prediction')
|
13 |
-
st.write('')
|
14 |
-
st.write('Name : Yosef')
|
15 |
-
st.write('Batch : HCK-007')
|
16 |
-
st.write('Objective : Ovuvwevewe Onyetevwevwe Ugwemugwem Ossass')
|
17 |
-
st.write('')
|
18 |
-
st.write('Please select menu on the left bar')
|
19 |
-
st.write('')
|
20 |
-
# st.image(img1, caption="Balls")
|
21 |
-
with st.expander('Background Dataset'):
|
22 |
-
st.caption('Dataset background explaination')
|
23 |
-
with st.expander('Problem Statement'):
|
24 |
-
st.caption('Saya mau uang')
|
25 |
-
with st.expander('SPONSOR'):
|
26 |
-
st.caption('FIFA')
|
27 |
-
# st.image(img1)
|
28 |
-
|
29 |
-
elif page == 'Data Exploration':
|
30 |
-
eda.run()
|
31 |
-
else:
|
32 |
prediction.run()
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import eda
|
3 |
+
import prediction
|
4 |
+
from PIL import Image
|
5 |
+
|
6 |
+
#img1 = Image.open('balls.jpg')
|
7 |
+
|
8 |
+
page = st.sidebar.selectbox('Choose Page: ',
|
9 |
+
('Landing Page','Data Exploration','Data Prediction'))
|
10 |
+
|
11 |
+
if page == 'Landing Page':
|
12 |
+
st.title('FIFA 2022 Player Rating Prediction')
|
13 |
+
st.write('')
|
14 |
+
st.write('Name : Yosef')
|
15 |
+
st.write('Batch : HCK-007')
|
16 |
+
st.write('Objective : Ovuvwevewe Onyetevwevwe Ugwemugwem Ossass')
|
17 |
+
st.write('')
|
18 |
+
st.write('Please select menu on the left bar')
|
19 |
+
st.write('')
|
20 |
+
# st.image(img1, caption="Balls")
|
21 |
+
with st.expander('Background Dataset'):
|
22 |
+
st.caption('Dataset background explaination')
|
23 |
+
with st.expander('Problem Statement'):
|
24 |
+
st.caption('Saya mau uang')
|
25 |
+
with st.expander('SPONSOR'):
|
26 |
+
st.caption('FIFA')
|
27 |
+
# st.image(img1)
|
28 |
+
|
29 |
+
elif page == 'Data Exploration':
|
30 |
+
eda.run()
|
31 |
+
else:
|
32 |
prediction.run()
|