Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
funasr_web
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 d8bc5e7a
authored
Mar 19, 2024
by
‘chizw’
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
逻辑优化
1 parent
995c33bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
kafka_service/funasr_producer.py
kafka_service/funasr_producer.py
View file @
d8bc5e7
...
@@ -23,6 +23,8 @@ def send_message_analysis(message):
...
@@ -23,6 +23,8 @@ def send_message_analysis(message):
def
send_wait_task
():
def
send_wait_task
():
res
=
funasr_db
.
select_ali_asr_model_wait
()
res
=
funasr_db
.
select_ali_asr_model_wait
()
if
res
is
None
or
isinstance
(
res
,
bool
)
or
len
(
res
)
<
1
:
return
json_res
=
json
.
loads
(
res
)
json_res
=
json
.
loads
(
res
)
print
(
f
"服务启动推送等待任务:{json_res}"
)
print
(
f
"服务启动推送等待任务:{json_res}"
)
for
item
in
json_res
:
for
item
in
json_res
:
...
...
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