Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
awacke1
/
GradioTranslation
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ac2ed45
GradioTranslation
/
app.py
awacke1
Update app.py
ac2ed45
almost 3 years ago
raw
Copy download link
history
blame
Safe
201 Bytes
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()