app.py added
Browse files
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')
|