zxcgqq commited on
Commit
5b9233e
·
1 Parent(s): c58cc4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def load_images(image_paths, image_size, verbose=True):
52
 
53
  def classify_nd(model, nd_images, predict_args={}):
54
  file_path = "test.png"
55
- img = load_image(file_path,(299,299))
56
  model_preds = model.predict(img, **predict_args)
57
  categories = ['drawings', 'hentai', 'neutral', 'porn', 'sexy']
58
 
 
52
 
53
  def classify_nd(model, nd_images, predict_args={}):
54
  file_path = "test.png"
55
+ img = load_images(file_path,(299,299))
56
  model_preds = model.predict(img, **predict_args)
57
  categories = ['drawings', 'hentai', 'neutral', 'porn', 'sexy']
58