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