Spaces:
Runtime error
Runtime error
from transformers import pipeline | |
import gradio as gr | |
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es") | |
iface = gr.Interface.from_pipeline(pipe) | |
iface.launch() |