zxcgqq commited on
Commit
5720f85
·
1 Parent(s): 0c09b43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,8 +59,8 @@ def classify_nd(model, nd_images, predict_args={}):
59
 
60
  def nsfw(image):
61
  model = load_model("nsfw.299x299.h5")
62
- image_preds = classify_nd(model, image)
63
- return image_preds
64
 
65
 
66
  demo = gr.Interface(fn=nsfw,
 
59
 
60
  def nsfw(image):
61
  model = load_model("nsfw.299x299.h5")
62
+ # image_preds = classify_nd(model, image)
63
+ return "----"
64
 
65
 
66
  demo = gr.Interface(fn=nsfw,