wasay commited on
Commit
b4aa83f
1 Parent(s): bf8dff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)