I want to use python gradio to deploy two translation model. one is English to Spanish and another is English to German. I want to display them in same page. It need support stream output. Can you give me example code for it? Make sure your entire response is wrapped in JSON format.
user