Tech-Meld commited on
Commit
bcdae6c
·
verified ·
1 Parent(s): 1af2ffa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -98,13 +98,13 @@ tab1, tab2, tab3 = st.tabs(["1-to-1 Heatwave Ablation Profile", "Direct Physical
98
 
99
  with tab1:
100
  fig_ab = "rigorous_ablation_heatwave_profile.png"
101
- if fig_ab.exists():
102
  st.image(str(fig_ab))
103
  with tab2:
104
  fig_sw = "direct_physics_sweeps.png"
105
- if fig_sw.exists():
106
  st.image(str(fig_sw))
107
  with tab3:
108
  fig_par = "surrogate_parity_plot.png"
109
- if fig_par.exists():
110
  st.image(str(fig_par))
 
98
 
99
  with tab1:
100
  fig_ab = "rigorous_ablation_heatwave_profile.png"
101
+ if Path(fig_ab).exists():
102
  st.image(str(fig_ab))
103
  with tab2:
104
  fig_sw = "direct_physics_sweeps.png"
105
+ if Path(fig_sw).exists():
106
  st.image(str(fig_sw))
107
  with tab3:
108
  fig_par = "surrogate_parity_plot.png"
109
+ if Path(fig_par).exists():
110
  st.image(str(fig_par))