From 0ee4565c8ec3deffde8362370aee306ae7029ebb Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期一, 22 一月 2024 18:44:07 +0800
Subject: [PATCH] update raw_text
---
funasr/models/branchformer/model.py | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/funasr/models/branchformer/model.py b/funasr/models/branchformer/model.py
index a14b407..7fa99b3 100644
--- a/funasr/models/branchformer/model.py
+++ b/funasr/models/branchformer/model.py
@@ -1,16 +1,16 @@
import logging
from funasr.models.transformer.model import Transformer
-from funasr.utils.register import register_class
+from funasr.register import tables
-@register_class("model_classes", "Branchformer")
+@tables.register("model_classes", "Branchformer")
class Branchformer(Transformer):
- """CTC-attention hybrid Encoder-Decoder model"""
+ """CTC-attention hybrid Encoder-Decoder model"""
- def __init__(
- self,
- *args,
- **kwargs,
- ):
+ def __init__(
+ self,
+ *args,
+ **kwargs,
+ ):
- super().__init__(*args, **kwargs)
+ super().__init__(*args, **kwargs)
--
Gitblit v1.9.1