allow_preview=False
not working as expected in custom Gallery class
#9910
Labels
allow_preview=False
not working as expected in custom Gallery class
#9910
Describe the bug
I'm using a custom
Gallery
class that inherits fromgr.Gallery
in my Gradio application. I've set theallow_preview
parameter toFalse
when creating theGallery
instance, but the preview functionality is still being triggered when I click on the images.Have you searched existing issues? 🔎
Reproduction
print(gallery.allow_preview)
statement outputsFalse
, indicating that theallow_preview
parameter is being set correctly.allow_preview=False
setting.Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: