| from transformers import pipeline | |
| pipe= pipeline("translation", model="hi2en") | |
| text= "मैं कर कार्यालय से फोन कर रहा हूँ" | |
| result =pipe(text) | |
| print( result[0]["translation_text"]) | |
| from transformers import pipeline | |
| pipe= pipeline("translation", model="hi2en") | |
| text= "मैं कर कार्यालय से फोन कर रहा हूँ" | |
| result =pipe(text) | |
| print( result[0]["translation_text"]) | |