Spaces:
Sleeping
Sleeping
Hamza Salhi
commited on
Commit
•
7a3cc4c
1
Parent(s):
f8471b4
Update exercises/geo_interp.py
Browse files- exercises/geo_interp.py +6 -6
exercises/geo_interp.py
CHANGED
@@ -35,17 +35,17 @@ def geo_interp():
|
|
35 |
st.write("Litho")
|
36 |
st.write("")
|
37 |
st.write("")
|
38 |
-
st.image("
|
39 |
|
40 |
with col2:
|
41 |
|
42 |
cog = st.slider("Select a cut-off (% of economic cut-off)", min_value=0,value=0, step=1, max_value=3, key="sl1")
|
43 |
-
st.image("
|
44 |
|
45 |
with col3:
|
46 |
|
47 |
cog2 = st.slider("Select a cut-off (% of economic cut-off)", min_value=0, value=0, step=1, max_value=4, key="sl2")
|
48 |
-
st.image("
|
49 |
|
50 |
st.markdown("## Question 2: Choose a domaining strategy")
|
51 |
st.markdown("")
|
@@ -65,17 +65,17 @@ def geo_interp():
|
|
65 |
st.write("")
|
66 |
st.write("")
|
67 |
st.write("")
|
68 |
-
st.image("
|
69 |
with colz2:
|
70 |
sel_graph = st.selectbox("Select Graph", options=['Fe vs Si', 'P vs Si'], index=0, key='g1')
|
71 |
if sel_graph == 'Fe vs Si':
|
72 |
inp = 'fesi.jpg'
|
73 |
else:
|
74 |
inp = 'psi.jpg'
|
75 |
-
st.image("
|
76 |
|
77 |
with colz3:
|
78 |
sel_sect = st.selectbox("Display Section", options=['Si', 'Fe', 'P'], index=0, key='g1')
|
79 |
-
st.image("
|
80 |
|
81 |
|
|
|
35 |
st.write("Litho")
|
36 |
st.write("")
|
37 |
st.write("")
|
38 |
+
st.image("images//litho.jpg", width=400)
|
39 |
|
40 |
with col2:
|
41 |
|
42 |
cog = st.slider("Select a cut-off (% of economic cut-off)", min_value=0,value=0, step=1, max_value=3, key="sl1")
|
43 |
+
st.image("images//gt" + str(int(cog)) + ".jpg", width=400)
|
44 |
|
45 |
with col3:
|
46 |
|
47 |
cog2 = st.slider("Select a cut-off (% of economic cut-off)", min_value=0, value=0, step=1, max_value=4, key="sl2")
|
48 |
+
st.image("images//gt2" + str(int(cog2))+ ".jpg", width=400)
|
49 |
|
50 |
st.markdown("## Question 2: Choose a domaining strategy")
|
51 |
st.markdown("")
|
|
|
65 |
st.write("")
|
66 |
st.write("")
|
67 |
st.write("")
|
68 |
+
st.image("images//flow_chart.jpg", width=350)
|
69 |
with colz2:
|
70 |
sel_graph = st.selectbox("Select Graph", options=['Fe vs Si', 'P vs Si'], index=0, key='g1')
|
71 |
if sel_graph == 'Fe vs Si':
|
72 |
inp = 'fesi.jpg'
|
73 |
else:
|
74 |
inp = 'psi.jpg'
|
75 |
+
st.image("images//" + inp, width=300)
|
76 |
|
77 |
with colz3:
|
78 |
sel_sect = st.selectbox("Display Section", options=['Si', 'Fe', 'P'], index=0, key='g1')
|
79 |
+
st.image("images//" + sel_sect + "_sect.jpg", width=500)
|
80 |
|
81 |
|