Spaces:
Runtime error
Runtime error
Commit
·
038d8df
1
Parent(s):
80c22f3
Upload app.py
Browse files
app.py
CHANGED
@@ -33,11 +33,9 @@ st.write(animated_scatter)
|
|
33 |
##################
|
34 |
|
35 |
|
|
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
head_col1, head_col2 = st.columns(2)
|
40 |
-
with head_col1:
|
41 |
st.subheader("From Wikipedia: ")
|
42 |
st.write("""Hans Rosling (Swedish pronunciation: [ˈhɑːns ˈrûːslɪŋ]; 27 July 1948 – 7 February 2017) was a Swedish physician,
|
43 |
academic, and public speaker. He was a professor of international health at Karolinska Institute[4] and
|
@@ -46,18 +44,8 @@ with head_col1:
|
|
46 |
(and data visualization) to explore development issues.[6] His posthumously published book Factfulness,
|
47 |
coauthored with his daughter-in-law Anna Rosling Rönnlund and son Ola Rosling, became an international bestseller.[7]""")
|
48 |
|
49 |
-
|
50 |
-
with head_col2:
|
51 |
-
showpicture = st.checkbox('Like to see his picture: ')
|
52 |
-
if showpicture:
|
53 |
-
st.image("https://huggingface.co/spaces/rickystanley76/streamlit-hans-rosling/blob/main/hans.jpg")
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
|
|
|
61 |
|
62 |
|
63 |
|
|
|
33 |
##################
|
34 |
|
35 |
|
36 |
+
showtext= st.checkbox("Who is Hans Rosling?")
|
37 |
|
38 |
+
if showtext:
|
|
|
|
|
|
|
39 |
st.subheader("From Wikipedia: ")
|
40 |
st.write("""Hans Rosling (Swedish pronunciation: [ˈhɑːns ˈrûːslɪŋ]; 27 July 1948 – 7 February 2017) was a Swedish physician,
|
41 |
academic, and public speaker. He was a professor of international health at Karolinska Institute[4] and
|
|
|
44 |
(and data visualization) to explore development issues.[6] His posthumously published book Factfulness,
|
45 |
coauthored with his daughter-in-law Anna Rosling Rönnlund and son Ola Rosling, became an international bestseller.[7]""")
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
+
|
49 |
|
50 |
|
51 |
|