Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
awacke1
/
GradioTranslation
like
1
Runtime error
App
Files
Files
Community
ac2ed45
GradioTranslation
/
app.py
awacke1
Update app.py
ac2ed45
over 2 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()