File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ Once you have the files you can run the following command to generate speech fro
1010
1111``` bash
1212./llama-simple-tts -m ./OuteTTS-0.2-500M-q8_0.gguf -mv ./WavTokenizer-Large-75-F16.gguf -v ./en_male_1.json -p " Hello, world!"
13- ```
13+ ```
Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ int main(int argc, char ** argv) {
563563 llama_context_params ctx_params = llama_context_default_params ();
564564 ctx_params.n_ctx = 8192 ;
565565 ctx_params.n_batch = 8192 ;
566-
566+
567567 llama_context * ctx = llama_init_from_model (model, ctx_params);
568568 if (!ctx) {
569569 fprintf (stderr, " %s: error: failed to create the llama_context\n " , __func__);
@@ -577,7 +577,7 @@ int main(int argc, char ** argv) {
577577 fprintf (stderr, " %s: error: failed to create the vocoder llama_context\n " , __func__);
578578 return 1 ;
579579 }
580-
580+
581581 std::vector<llama_sampler *> smpl (n_parallel);
582582 for (int i = 0 ; i < n_parallel; ++i) {
583583 smpl[i] = llama_sampler_chain_init (llama_sampler_chain_default_params ());
@@ -696,7 +696,7 @@ int main(int argc, char ** argv) {
696696 return 1 ;
697697 }
698698 }
699-
699+
700700 llama_batch_free (batch);
701701
702702 // remove all non-audio tokens (i.e. < 151672 || > 155772)
@@ -742,4 +742,4 @@ int main(int argc, char ** argv) {
742742 llama_backend_free ();
743743
744744 return 0 ;
745- }
745+ }
You can’t perform that action at this time.
0 commit comments