Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ramaravind
/
testing
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ceb4387
testing
/
app.py
Ramaravind
Update app.py
dcc2428
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
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()