suhail0318 commited on
Commit
66e5a09
·
verified ·
1 Parent(s): fcd2cbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ interface = gr.Interface(
38
  inputs=gr.Image(type="pil", label="Upload Image", image_mode='RGB'), # Removed the 'tool' argument
39
  outputs=[gr.Image(type="pil", label="Image Preview"), gr.Textbox(label="Description")], # Show image only if related to dal
40
  title="Dal Detection",
41
- description="Upload an image to get a textual description. Only images related to dal (lentil) will be accepted.",
42
  allow_flagging="never" # Disable flagging for rejected images
43
  )
44
 
 
38
  inputs=gr.Image(type="pil", label="Upload Image", image_mode='RGB'), # Removed the 'tool' argument
39
  outputs=[gr.Image(type="pil", label="Image Preview"), gr.Textbox(label="Description")], # Show image only if related to dal
40
  title="Dal Detection",
41
+ description="Only images related to dal will be accepted!.",
42
  allow_flagging="never" # Disable flagging for rejected images
43
  )
44