From 3530688e0a1b1dfbb22dcd3324db97be5bbc0d9b Mon Sep 17 00:00:00 2001
From: takipipo <69394786+takipipo@users.noreply.github.com>
Date: 星期四, 16 一月 2025 10:33:23 +0800
Subject: [PATCH] Make Emotion2vec support onnx (#2359)
---
funasr/models/conformer/model.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/funasr/models/conformer/model.py b/funasr/models/conformer/model.py
index 2c26753..d7e77b1 100644
--- a/funasr/models/conformer/model.py
+++ b/funasr/models/conformer/model.py
@@ -5,15 +5,15 @@
from funasr.models.transformer.model import Transformer
from funasr.register import tables
+
@tables.register("model_classes", "Conformer")
class Conformer(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