Spaces:
Runtime error
Runtime error
Add few examples
#2
by
ysharma
HF staff
- opened
Hi, you can add examples and enable cache for them using gr.Examples()
component. This will help users explore the app quickly and could potentially add to its virality. For example - https://huggingface.co/spaces/hysts/DeepDanbooru
Docs - https://www.gradio.app/docs/examples
That's a great suggestion, thanks! I'm on it
Thanks! I'd suggest adding caching to examples as well. This is very helpful for someone to quickly try out the app.
As an example, you can refer to this app - https://huggingface.co/spaces/fffiloni/Image-to-Story/blob/main/app.py#L147
Hi @ysharma - thanks for the tip, caching was my initial approach too, but I found some minor issues with gradio when I tested it.
Will investigate and hopefully set it up soon!
mikonvergence
changed discussion status to
closed