Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def predict_image(image_url):
|
|
29 |
# Create Gradio interface
|
30 |
iface = gr.Interface(
|
31 |
fn=predict_image,
|
32 |
-
inputs=gr.Textbox(label="Image URL"),
|
33 |
outputs=gr.Textbox(label="Predicted Class"),
|
34 |
title="NSFW Image Classifier"
|
35 |
)
|
|
|
29 |
# Create Gradio interface
|
30 |
iface = gr.Interface(
|
31 |
fn=predict_image,
|
32 |
+
inputs=gr.Textbox(label="Image URL", placeholder="Enter image URL here"),
|
33 |
outputs=gr.Textbox(label="Predicted Class"),
|
34 |
title="NSFW Image Classifier"
|
35 |
)
|