Spaces:
Runtime error
Runtime error
final_ver
Browse files
app.py
CHANGED
@@ -9,9 +9,7 @@ import pathlib
|
|
9 |
import PIL
|
10 |
|
11 |
# Load the exported model
|
12 |
-
|
13 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
14 |
-
model = load_learner(r"C:\Users\i0567479\Downloads\model.pkl")
|
15 |
|
16 |
# Function to classify an image
|
17 |
def classify_images(imgs):
|
|
|
9 |
import PIL
|
10 |
|
11 |
# Load the exported model
|
12 |
+
model = load_learner("model.pkl")
|
|
|
|
|
13 |
|
14 |
# Function to classify an image
|
15 |
def classify_images(imgs):
|