You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
459 B
Java
18 lines
459 B
Java
package com.supervision.service;
|
|
|
|
import com.supervision.dto.paddlespeech.res.TtsResultDTO;
|
|
import com.supervision.vo.voice.VoiceReqVO;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import java.io.IOException;
|
|
|
|
public interface VoiceService {
|
|
|
|
String voiceToText(MultipartFile file, String sessionId) throws IOException;
|
|
|
|
|
|
String voiceToText(byte[] bytes, String sessionId) throws IOException;
|
|
|
|
TtsResultDTO textToVoice(String text);
|
|
}
|