From b5ad7c81be2e24f255cac3d0ef0037bf88228366 Mon Sep 17 00:00:00 2001
From: Kun Zou <54402842+kenzoukun@users.noreply.github.com>
Date: 星期六, 21 十二月 2024 17:13:46 +0800
Subject: [PATCH] Support eparaformer model on aishell1 recipe (#2327)

---
 funasr/utils/install_model_requirements.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/funasr/utils/install_model_requirements.py b/funasr/utils/install_model_requirements.py
index b67345d..d7295db 100644
--- a/funasr/utils/install_model_requirements.py
+++ b/funasr/utils/install_model_requirements.py
@@ -1,12 +1,13 @@
 import subprocess
 
+
 def install_requirements(requirements_path):
     try:
         result = subprocess.run(
-            ['pip', 'install', '-r', requirements_path],
+            ["pip", "install", "-r", requirements_path],
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
-            text=True
+            text=True,
         )
 
         # check status
@@ -19,10 +20,10 @@
             return False
     except Exception as e:
         result = subprocess.run(
-            ['pip', 'install', '-r', requirements_path],
+            ["pip", "install", "-r", requirements_path],
             stdout=subprocess.PIPE,
             stderr=subprocess.PIPE,
-            text=True
+            text=True,
         )
 
         # check status

--
Gitblit v1.9.1