yeftakun commited on
Commit
2f8f091
·
verified ·
1 Parent(s): 48fad58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )