from transformers import pipeline | |
pipe= pipeline("translation", model="en2el") | |
text="I am calling from the tax office" | |
result =pipe(text) | |
print( result[0]["translation_text"]) |
from transformers import pipeline | |
pipe= pipeline("translation", model="en2el") | |
text="I am calling from the tax office" | |
result =pipe(text) | |
print( result[0]["translation_text"]) |