ff98 commited on
Commit
7ac4458
·
1 Parent(s): a1cf5fb

app.py added

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ st.markdown(
24
  unsafe_allow_html=True
25
  )
26
 
27
-
28
  def load_models():
29
  # Load all models at once
30
  eff_net_model = tf.keras.models.load_model('EfficientNet_Models/efficientnetb3_binary_classifier_8.h5')
 
24
  unsafe_allow_html=True
25
  )
26
 
27
+ @st.cache_resource
28
  def load_models():
29
  # Load all models at once
30
  eff_net_model = tf.keras.models.load_model('EfficientNet_Models/efficientnetb3_binary_classifier_8.h5')