File size: 201 Bytes
c3f9749
 
 
ac2ed45
c3f9749
ac2ed45
c3f9749
 
 
 
1
2
3
4
5
6
7
8
9
10
import gradio as gr

from transformers import pipeline
import gradio as gr

iface = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-es",
  examples=[["Hello! My name is Omar"]]
)

iface.launch()