Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_2607
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a7b7e2f4
authored
Jul 29, 2026
by
王欣伟
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改:增加热词后屏蔽热词模块的info日志
1 parent
a7e51f52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
asr_service/utils.py
asr_service/utils.py
View file @
a7b7e2f
...
...
@@ -48,6 +48,9 @@ def setup_logging(worker_index: int = 0) -> None:
# 降低第三方库的冗余日志
logging
.
getLogger
(
"urllib3"
)
.
setLevel
(
logging
.
WARNING
)
logging
.
getLogger
(
"modelscope"
)
.
setLevel
(
logging
.
WARNING
)
# 屏蔽 funasr 热词解析的刷屏日志(每次 generate 都会打印 INFO 级别的热词列表)
logging
.
getLogger
(
"funasr.models.seaco_paraformer"
)
.
setLevel
(
logging
.
WARNING
)
logging
.
getLogger
(
"funasr.models.contextual_paraformer"
)
.
setLevel
(
logging
.
WARNING
)
def
make_worker_id
(
worker_index
:
int
)
->
str
:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment