删除video目录

This commit is contained in:
ageer
2024-03-01 14:41:34 +08:00
parent 3af4a9dfd9
commit 240df6e3dc
7 changed files with 39 additions and 32 deletions

View File

@@ -156,7 +156,7 @@ public class ISseServiceImpl implements ISseService {
*/
@Override
public ResponseEntity<Resource> textToSpeed(TextToSpeech textToSpeech) {
ResponseBody body = openAiStreamClient.textToSpeechClone(textToSpeech);
ResponseBody body = openAiStreamClient.textToSpeech(textToSpeech);
if (body != null) {
// 将ResponseBody转换为InputStreamResource
InputStreamResource resource = new InputStreamResource(body.byteStream());