# Interface API deployment

**URL:** <https://discuss.huggingface.co/t/interface-api-deployment/82918>\
**Category:** 🤗Transformers\
**Created:** [April 21, 2024, 1:15pm UTC](https://discuss.huggingface.co/t/interface-api-deployment/82918 "2024-04-21T13:15:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VladS159](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@VladS159](https://discuss.huggingface.co/u/VladS159)\
**Post date:** [April 21, 2024, 1:15pm UTC](https://discuss.huggingface.co/t/interface-api-deployment/82918/1 "2024-04-21T13:15:23Z")

</div>

Hello, I’ve fine-tuned this version of Whisper for better Romanian transcription but when trying to deploy it I run into a problem. Usually, I load the model and the processor with WhisperForConditionalGeneration and WhisperProcessor respectively, and finally get the transcription with the model.generate() function from the transformers library (to which I would give as parameter the language, to avoid making Whisper guess it), but when using the serverless API from thf, I can’t change or specify the language so it tries to guess (and sometimes misses completely). Is there any way that would allow me to specify that I want a transcription in Romanian? If not, are there any alternatives? ☹
