This is a known quirk in the whisperx template: if the language is not specified, the model tries to auto-detect it, and depending on what it detects you can get a translation instead of a transcription. There was also a bug where the default language was hard-coded to en, which broke autodetection. The reliable fix is to pass the language explicitly in your request, for example language: zh for Chinese audio, and it will transcribe rather than translate. Source: https://github.com/leptonai/leptonai/issues/325
Source: https://github.com/leptonai/leptonai/issues/325