@gr.cache
Each tab shows a different function type. Submit the same input twice — the second call replays from cache.
Simulates image classification with a 2s delay.