Spaces:
Runtime error
Runtime error
Language translation
Browse files1 unmodified line23456781 unmodified linefrom transformers import pipeline# Initialize a pipeline for translationtranslator = pipeline("translation_en-to-hi")def translate(text):# Translate the text from English to Hindi1 unmodified line23456781 unmodified linefrom transformers import pipeline# Initialize a pipeline for translationtranslator = pipeline("translation_en_to_hi")def translate(text):# Translate the text from English to Hindi
app.py+1-1