Kalbe-x-Bangkit
commited on
Commit
•
4b464a7
1
Parent(s):
dc50c8f
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ W_detection = 224
|
|
40 |
|
41 |
@st.cache_resource
|
42 |
def load_model_detection():
|
43 |
-
model_detection = tf.keras.models.load_model("
|
44 |
model_detection.compile(
|
45 |
loss={
|
46 |
"bbox": "mse",
|
|
|
40 |
|
41 |
@st.cache_resource
|
42 |
def load_model_detection():
|
43 |
+
model_detection = tf.keras.models.load_model("model-detection.h5", compile=False)
|
44 |
model_detection.compile(
|
45 |
loss={
|
46 |
"bbox": "mse",
|