Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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 |
|