Translator-en-kas / postBuild
BurhaanZargar's picture
Used gTTS for TTS as previous TTS model didn't work
8c9cc75
raw
history blame
454 Bytes
python -c "from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, pipeline; \
AutoModelForSeq2SeqLM.from_pretrained('ai4bharat/indictrans2-en-indic-1B'); \
AutoTokenizer.from_pretrained('ai4bharat/indictrans2-en-indic-1B'); \
AutoModelForSeq2SeqLM.from_pretrained('ai4bharat/indictrans2-indic-en-1B'); \
AutoTokenizer.from_pretrained('ai4bharat/indictrans2-indic-en-1B'); \
pipeline('automatic-speech-recognition', model='openai/whisper-small')"