Merge pull request #6 from Abandon-ht/dev

fix tts input.
This commit is contained in:
海底撩
2024-11-20 15:07:27 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace m5_module_llm {
struct ApiMelottsSetupConfig_t {
String model = "melotts_zh-cn";
String response_format = "sys.pcm";
std::vector<String> input = {"sys.pcm"};
std::vector<String> input = {"tts.utf-8,stream"};
bool enoutput = false;
bool enaudio = true;
};
+1 -1
View File
@@ -12,7 +12,7 @@ namespace m5_module_llm {
struct ApiTtsSetupConfig_t {
String model = "single_speaker_english_fast";
String response_format = "sys.pcm";
std::vector<String> input = {"sys.pcm"};
std::vector<String> input = {"tts.utf-8,stream"};
bool enoutput = false;
bool enaudio = true;
};