import gradio as gr examples = [["The Moon's orbit around Earth has"], ["There once was a pineapple"]] gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es", examples=examples).launch();