From b4affb21ef34ac11cb0252b386080e6494fbfb30 Mon Sep 17 00:00:00 2001 From: xuan <admin@exuan.org> Date: 星期一, 26 二月 2024 09:41:22 +0800 Subject: [PATCH] fix: TabError (#1388) --- funasr/models/transducer/beam_search_transducer.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/funasr/models/transducer/beam_search_transducer.py b/funasr/models/transducer/beam_search_transducer.py index 04b26b3..f599615 100644 --- a/funasr/models/transducer/beam_search_transducer.py +++ b/funasr/models/transducer/beam_search_transducer.py @@ -1,10 +1,12 @@ -"""Search algorithms for Transducer models.""" +#!/usr/bin/env python3 +# -*- encoding: utf-8 -*- +# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved. +# MIT License (https://opensource.org/licenses/MIT) +import torch +import numpy as np from dataclasses import dataclass from typing import Any, Dict, List, Optional, Tuple, Union - -import numpy as np -import torch from funasr.models.transducer.joint_network import JointNetwork -- Gitblit v1.9.1