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 6926e619
authored
Jan 26, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化配置和启动项
1 parent
5d8de146
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
config/config.py
main.py
config/config.py
View file @
6926e61
...
@@ -67,4 +67,4 @@ class ConfigInfo:
...
@@ -67,4 +67,4 @@ class ConfigInfo:
kafka_consumer_auto_offset_reset
=
Config
.
kafka_consumer_auto_offset_reset
kafka_consumer_auto_offset_reset
=
Config
.
kafka_consumer_auto_offset_reset
kafka_consumer_analysis_topic
=
Config
.
kafka_consumer_analysis_topic
kafka_consumer_analysis_topic
=
Config
.
kafka_consumer_analysis_topic
charset
=
Config
.
charset
charset
=
Config
.
charset
subprocess_count
=
Config
.
charse
t
subprocess_count
=
Config
.
subprocess_coun
t
main.py
View file @
6926e61
...
@@ -296,7 +296,8 @@ if __name__ == "__main__":
...
@@ -296,7 +296,8 @@ if __name__ == "__main__":
if
os
.
path
.
exists
(
save_path
):
if
os
.
path
.
exists
(
save_path
):
shutil
.
rmtree
(
save_path
)
shutil
.
rmtree
(
save_path
)
parser
=
argparse
.
ArgumentParser
()
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
"--env"
,
type
=
str
)
parser
.
add_argument
(
"--env"
,
type
=
str
,
default
=
"dev"
)
parser
.
add_argument
(
"--test"
,
type
=
str
)
parser
.
add_argument
(
"--host"
,
type
=
str
,
default
=
"0.0.0.0"
)
parser
.
add_argument
(
"--host"
,
type
=
str
,
default
=
"0.0.0.0"
)
parser
.
add_argument
(
"--port"
,
type
=
int
,
default
=
7888
)
parser
.
add_argument
(
"--port"
,
type
=
int
,
default
=
7888
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
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