Remove UTK logo
Browse files- streamlit_app.py +26 -17
streamlit_app.py
CHANGED
@@ -1,25 +1,34 @@
|
|
1 |
import scholarpy
|
2 |
import streamlit as st
|
3 |
from streamlit_option_menu import option_menu
|
4 |
-
from apps import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
st.set_page_config(
|
7 |
-
|
8 |
-
|
9 |
|
10 |
# A dictionary of apps in the format of {"App title": "App icon"}
|
11 |
# More icons can be found here: https://icons.getbootstrap.com
|
12 |
|
13 |
-
apps = {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
|
24 |
|
25 |
titles = [app["title"] for app in apps.values()]
|
@@ -43,12 +52,12 @@ with st.sidebar:
|
|
43 |
# st.sidebar.title("About")
|
44 |
st.sidebar.info(
|
45 |
"""
|
46 |
-
**
|
47 |
-
|
48 |
|
49 |
"""
|
50 |
)
|
51 |
-
st.image("https://i.imgur.com/2WhANKg.png")
|
52 |
|
53 |
if "dsl" not in st.session_state:
|
54 |
st.session_state["dsl"] = scholarpy.Dsl()
|
|
|
1 |
import scholarpy
|
2 |
import streamlit as st
|
3 |
from streamlit_option_menu import option_menu
|
4 |
+
from apps import (
|
5 |
+
grant,
|
6 |
+
home,
|
7 |
+
google,
|
8 |
+
journal,
|
9 |
+
orcid,
|
10 |
+
organization,
|
11 |
+
publication,
|
12 |
+
researcher,
|
13 |
+
)
|
14 |
|
15 |
+
st.set_page_config(
|
16 |
+
page_title="Scholar Web App", page_icon="chart_with_upwards_trend", layout="wide"
|
17 |
+
)
|
18 |
|
19 |
# A dictionary of apps in the format of {"App title": "App icon"}
|
20 |
# More icons can be found here: https://icons.getbootstrap.com
|
21 |
|
22 |
+
apps = {
|
23 |
+
"home": {"title": "Home", "icon": "house"},
|
24 |
+
"grant": {"title": "Grant", "icon": "coin"},
|
25 |
+
"journal": {"title": "Journal", "icon": "journals"},
|
26 |
+
"publication": {"title": "Publication", "icon": "journal"},
|
27 |
+
"researcher": {"title": "Researcher", "icon": "person-circle"},
|
28 |
+
"orcid": {"title": "ORCID", "icon": "person-square"},
|
29 |
+
"organization": {"title": "Organization", "icon": "building"},
|
30 |
+
"google": {"title": "Google Scholar", "icon": "google"},
|
31 |
+
}
|
32 |
|
33 |
|
34 |
titles = [app["title"] for app in apps.values()]
|
|
|
52 |
# st.sidebar.title("About")
|
53 |
st.sidebar.info(
|
54 |
"""
|
55 |
+
**URL:** <https://scholar.gishub.org>
|
56 |
+
**Contact:** [Qiusheng Wu](https://gishub.org)
|
57 |
|
58 |
"""
|
59 |
)
|
60 |
+
# st.image("https://i.imgur.com/2WhANKg.png")
|
61 |
|
62 |
if "dsl" not in st.session_state:
|
63 |
st.session_state["dsl"] = scholarpy.Dsl()
|