From 93f9a424f2bc0607d31ef66b0c7c58dfac15ce25 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 24 六月 2024 10:07:31 +0800
Subject: [PATCH] fixbug for cif
---
funasr/download/download_from_hub.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/funasr/download/download_from_hub.py b/funasr/download/download_from_hub.py
index 46263c9..f1c01bd 100644
--- a/funasr/download/download_from_hub.py
+++ b/funasr/download/download_from_hub.py
@@ -84,6 +84,12 @@
from funasr.utils.install_model_requirements import install_requirements
install_requirements(requirements)
+ if kwargs.get("trust_remote_code", False):
+
+ import model
+
+ # from funasr.register import tables
+ # tables.print("model")
return kwargs
--
Gitblit v1.9.1