| from transformers import pipeline | |
| pipe= pipeline("translation", model="german2en") | |
| text="Ich rufe vom Finanzamt an." | |
| result =pipe(text) | |
| print( result[0]["translation_text"]) | |
| from transformers import pipeline | |
| pipe= pipeline("translation", model="german2en") | |
| text="Ich rufe vom Finanzamt an." | |
| result =pipe(text) | |
| print( result[0]["translation_text"]) | |