Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,6 @@ iface = gr.Interface(
|
|
80 |
description="Upload an image to classify it as 'safe' or 'unsafe' with corresponding probabilities.",
|
81 |
)
|
82 |
|
83 |
-
# Step 4: Add Local Test Before Launching
|
84 |
if __name__ == "__main__":
|
85 |
print("Testing model locally with a sample image...")
|
86 |
from PIL import Image
|
|
|
80 |
description="Upload an image to classify it as 'safe' or 'unsafe' with corresponding probabilities.",
|
81 |
)
|
82 |
|
|
|
83 |
if __name__ == "__main__":
|
84 |
print("Testing model locally with a sample image...")
|
85 |
from PIL import Image
|