Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from fastai.imports import *
|
|
15 |
plt = platform.system()
|
16 |
if plt == 'Linux':
|
17 |
pathlib.WindowsPath = pathlib.PosixPath
|
18 |
-
model = load_model(filename="senet50")
|
19 |
|
20 |
def img_to_encoding(image_path, model):
|
21 |
img = Image.open(image_path)
|
|
|
15 |
plt = platform.system()
|
16 |
if plt == 'Linux':
|
17 |
pathlib.WindowsPath = pathlib.PosixPath
|
18 |
+
model = load_model(filename="senet50.h5")
|
19 |
|
20 |
def img_to_encoding(image_path, model):
|
21 |
img = Image.open(image_path)
|