        num_beams=5,
        no_repeat_ngram_size=3,
    )
    audio_signal = decode_tts(output_audio_tokens[0], quantizer, 3, len(tokenizer), soa, eoa)
    return audio_signal

    audio_data, sample_rate = torchaudio.load(audio_path)
    audio = audio_data.view(1, -1).float().to(device)
    bandwidth_id = torch.tensor([0])
    _, codes = quantizer.encode_infer(audio, bandwidth_id=bandwidth_id)
    raw_audio_tokens = codes + len(tokenizer) + 1024
