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 9f7e5e4e
authored
Jan 15, 2025
by
‘chizw’
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]限制优化
1 parent
897b3f56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
kafka_service/funasr_consumer.py
mysql_service/funasr_db.py
kafka_service/funasr_consumer.py
View file @
9f7e5e4
import
json
import
multiprocessing
import
threading
import
time
import
traceback
import
funasr_service
from
kafka
import
KafkaConsumer
...
...
@@ -9,8 +8,6 @@ from log.logger import log
from
config.config
import
ConfigInfo
from
concurrent.futures
import
ThreadPoolExecutor
from
kafka.structs
import
TopicPartition
from
tqdm
import
tqdm
import
numpy
as
np
import
gc
from
concurrent.futures
import
ProcessPoolExecutor
,
as_completed
,
wait
,
FIRST_COMPLETED
...
...
mysql_service/funasr_db.py
View file @
9f7e5e4
from
mysql_service
import
MysqlHelper
from
config
import
DbConect
from
config.config
import
ConfigInfo
from
mysql_service
import
mysql_utils
from
mysql_service.mysql_pool
import
ConnPool
# db = MysqlHelper.MysqlHelper(
...
...
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