Spaces:
Running
Running
Update app.py
Browse files
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
|
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,
|