Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ class_names = {
|
|
| 18 |
}
|
| 19 |
|
| 20 |
# Load the pre-trained model
|
| 21 |
-
model = load_model("
|
| 22 |
|
| 23 |
# Function to predict image
|
| 24 |
def predict_image(img):
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
# Load the pre-trained model
|
| 21 |
+
model = load_model("Electronic-Component-Detector-mod-best.keras")
|
| 22 |
|
| 23 |
# Function to predict image
|
| 24 |
def predict_image(img):
|