Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -48,7 +48,7 @@ def load_model_cached():
|
|
| 48 |
model.load_weights(MODEL_PATH)
|
| 49 |
return model
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
# ------------------ IMAGE PREPROCESSING ------------------
|
| 54 |
def preprocess_image(image: Image.Image) -> np.ndarray:
|
|
|
|
| 48 |
model.load_weights(MODEL_PATH)
|
| 49 |
return model
|
| 50 |
|
| 51 |
+
model = load_model_cached()
|
| 52 |
|
| 53 |
# ------------------ IMAGE PREPROCESSING ------------------
|
| 54 |
def preprocess_image(image: Image.Image) -> np.ndarray:
|