-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.py
38 lines (24 loc) · 853 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 about
import actors
# Page settings
st.set_page_config(page_title="GDELT Actors Explorer")#, page_icon="❤️")
# Sidebar settings
PAGES = {
'About this App': about,
'Actor Types Explorer': actors,
}
image = 'https://blog.gdeltproject.org/wp-content/uploads/2015-gdelt-2.png'
st.sidebar.image(image, use_column_width=True)
st.sidebar.title("GDELT News Explorer")
page = st.sidebar.radio("Navigation", list(PAGES.keys()))
# Display the selected page in the main viewport
PAGES[page].show_page()
# Made by section - footer in the sidebar
st.sidebar.markdown('''
### Made with ❤️ by:
- [Jovan Veljanoski](https://www.linkedin.com/in/jovanvel/)
- [Maarten Breddels](https://www.linkedin.com/in/maartenbreddels/)
''')
st.sidebar.image('./logos/logo-white.png', use_column_width=True)
# END OF SCRIP