mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-06 00:07:34 +00:00
删除video目录
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user