gradiotest2 / app.py
Schweigert
commit message
4c75df6
raw
history blame contribute delete
176 Bytes
from transformers import pipeline
import gradio as gr
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es")
demo = gr.Interface.from_pipeline(pipe)
demo.launch()