Tech-Meld commited on
Commit
96dbd01
·
verified ·
1 Parent(s): 7512593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -12,7 +12,6 @@ st.set_page_config(page_title="HeatBee - Vernacular Thermal Surrogate", page_ico
12
 
13
  MODEL_PATH = Path("surrogate_peak_temp.json")
14
  BENCHMARK_JSON = Path("benchmark_results.json")
15
- FIG_DIR = Path("figures")
16
 
17
  @st.cache_resource
18
  def load_surrogate():
@@ -98,14 +97,14 @@ st.subheader("📊 Visualizations")
98
  tab1, tab2, tab3 = st.tabs(["1-to-1 Heatwave Ablation Profile", "Direct Physical Sweeps", "Surrogate Parity"])
99
 
100
  with tab1:
101
- fig_ab = FIG_DIR / "rigorous_ablation_heatwave_profile.png"
102
  if fig_ab.exists():
103
  st.image(str(fig_ab))
104
  with tab2:
105
- fig_sw = FIG_DIR / "direct_physics_sweeps.png"
106
  if fig_sw.exists():
107
  st.image(str(fig_sw))
108
  with tab3:
109
- fig_par = FIG_DIR / "surrogate_parity_plot.png"
110
  if fig_par.exists():
111
  st.image(str(fig_par))
 
12
 
13
  MODEL_PATH = Path("surrogate_peak_temp.json")
14
  BENCHMARK_JSON = Path("benchmark_results.json")
 
15
 
16
  @st.cache_resource
17
  def load_surrogate():
 
97
  tab1, tab2, tab3 = st.tabs(["1-to-1 Heatwave Ablation Profile", "Direct Physical Sweeps", "Surrogate Parity"])
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))