lh 7 meses atrás
pai
commit
27bf05b99c
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Services/DeepSeek/DeepSeekService.php

+ 1 - 0
app/Services/DeepSeek/DeepSeekService.php

@@ -168,6 +168,7 @@ class DeepSeekService
         if (!preg_match('/[\x{4e00}-\x{9fa5}]+/u', $list['text']) && !preg_match('/[0-9]+/', $list['text']) && !preg_match('/[a-zA-Z]+/', $list['text'])) {
             $list['generate_status'] = '制作成功';
             $list['paragraph_audio_url'] = 'https://zw-audiobook.tos-cn-beijing.volces.com/effects/ellipses_2s.mp3';
+            $list['subtitle_info'] = '{"duration": 2.0, "words": []}';
             $continue = true;
         }