hi2ur / usage.py
datasetsANDmodels's picture
Update usage.py
d553acc verified
from transformers import pipeline
pipe= pipeline("translation", model="hi2ur")
text= "मैं कर कार्यालय से फोन कर रहा हूँ"# HINDI
result =pipe(text)
print( result[0]["translation_text"])