A newer version of the Gradio SDK is available: 5.23.3
5.23.3
Prompter class, a template manager.
from utils.prompter import Prompter
Helpers to support streaming generate output.
from utils.callbacks import Iteratorize, Stream