Skip to content

Commit

Permalink
修复配置文件bug
Browse files Browse the repository at this point in the history
修复读取配置文件bug
  • Loading branch information
xszyou committed Jun 26, 2023
1 parent 750e77e commit e2859e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fay数字人助理版是fay开源项目的重要分支,专注于构建智能



灵聚NLP api(支持GPT3.5及多应用):b站"Fay数字人集成灵聚NLP api(支持GPT3.5及多应用)"
灵聚NLP api(支持GPT3.5及多应用):https://m.bilibili.com/video/BV1NW4y1D76a

集成本地唇型算法:https://www.bilibili.com/video/BV1Zh4y1g7o7/?buvid=XXDD0B5DD6C43C070DF9E7E67930FC48B24DF&is_story_h5=false&mid=Pvwl%2Ft1ahPM726k1L4%2FnRA%3D%3D&plat_id=202&share_from=ugc&share_medium=android&share_plat=android&share_source=WEIXIN&share_tag=s_i&timestamp=1686926382&unique_k=Jdqazy3&up_id=2111554564

Expand Down
6 changes: 0 additions & 6 deletions utils/config_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
key_ali_nls_app_key = None
key_ms_tts_key = None
Key_ms_tts_region = None
key_xf_aiui_app_id = None
key_xf_aiui_api_key = None
key_xf_ltp_app_id = None
key_xf_ltp_api_key = None
key_ngrok_cc_id = None
Expand All @@ -36,8 +34,6 @@ def load_config():
global key_ali_nls_app_key
global key_ms_tts_key
global key_ms_tts_region
global key_xf_aiui_app_id
global key_xf_aiui_api_key
global key_xf_ltp_app_id
global key_xf_ltp_api_key
global key_ngrok_cc_id
Expand All @@ -61,8 +57,6 @@ def load_config():
key_ali_nls_app_key = system_config.get('key', 'ali_nls_app_key')
key_ms_tts_key = system_config.get('key', 'ms_tts_key')
key_ms_tts_region = system_config.get('key', 'ms_tts_region')
key_xf_aiui_app_id = system_config.get('key', 'xf_aiui_app_id')
key_xf_aiui_api_key = system_config.get('key', 'xf_aiui_api_key')
key_xf_ltp_app_id = system_config.get('key', 'xf_ltp_app_id')
key_xf_ltp_api_key = system_config.get('key', 'xf_ltp_api_key')
key_ngrok_cc_id = system_config.get('key', 'ngrok_cc_id')
Expand Down

0 comments on commit e2859e9

Please sign in to comment.