Ver código fonte

feat:添加fish参考音频同步任务

zhaohaipeng 2 meses atrás
pai
commit
97ed46fb4b
1 arquivos alterados com 1 adições e 6 exclusões
  1. 1 6
      script/fish_reference_audio_sync.py

+ 1 - 6
script/fish_reference_audio_sync.py

@@ -76,7 +76,7 @@ def build_card_json(msg: str):
             "zh_cn": {
                 "title": {
                     "tag": "plain_text",
-                    "content": "特征同步延迟告警"
+                    "content": "Fish音频同步失败通知"
                 },
                 "subtitle": {
                     "tag": "plain_text",
@@ -102,11 +102,6 @@ def _main():
             reference_id = reference_info['speaker_id']
             try:
                 if reference_id in exist_references_ids:
-                    sync_fail_list.append({
-                        "实例IP": ip,
-                        "音频ID": reference_id,
-                        "失败原因": "同步成功",
-                    })
                     print(f"音频ID【{reference_id}】在实例【{ip}】上已经存在,跳过")
                     continue