Change8

@gradio/client@2.2.0

📦 gradioView on GitHub →
2 features🐛 1 fixes🔧 3 symbols

Summary

This release introduces the new @gr.cache() decorator and gr.Cache for function caching, and resolves an issue with ZeroGPU handling in gr.Server.

✨ New Features

  • Added @gr.cache() decorator for caching deterministic functions.
  • Added lower-level gr.Cache that uses dependency injection.

🐛 Bug Fixes

  • Fixed ZeroGPU handling for gr.Server.

Affected Symbols