Skip to content

Commit

Permalink
Merge pull request #6 from Abandon-ht/dev
Browse files Browse the repository at this point in the history
fix tts input.
  • Loading branch information
Forairaaaaa authored Nov 20, 2024
2 parents 377ffd0 + d2d10ec commit 671b87a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/api_melotts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion src/api/api_tts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 671b87a

Please sign in to comment.