Hamza Salhi commited on
Commit
7a3cc4c
1 Parent(s): f8471b4

Update exercises/geo_interp.py

Browse files
Files changed (1) hide show
  1. 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("..//pdac2021_res_est_course_link2//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("..//pdac2021_res_est_course_link2//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("..//pdac2021_res_est_course_link2//images//gt2" + str(int(cog2))+ ".jpg", width=400)
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("..//pdac2021_res_est_course_link2//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("..//pdac2021_res_est_course_link2//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("..//pdac2021_res_est_course_link2//images//" + sel_sect + "_sect.jpg", width=500)
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