Skip to content

Load examples when Interface/Block is loaded unless examples are passed #2554

@merveenoyan

Description

@merveenoyan

When we load a gradio Interface from huggingface, the examples aren't loaded. I know this is intended behavior but maybe on top of it retrieving the example files when loading the Interface or Block would be good when they're loaded from a Space, unless the user passes the examples parameter explicitly. WDYT? Also pinging @sayakpaul & @osanseviero

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions