Akjava commited on
Commit
ca8be06
·
verified ·
1 Parent(s): b1dda8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,7 +103,7 @@ head = '''
103
  import { env,textToArpa} from "https://akjava.github.io/Matcha-TTS-Japanese/js-esm/text_to_arpa.js";
104
 
105
  env.allowLocalModels = true;
106
- env.localModelPath = "./models/";
107
  env.backends.onnx.logLevel = "fatal";
108
 
109
  let matcha_tts_raw;
@@ -150,7 +150,7 @@ head = '''
150
  </script>
151
  '''
152
  with gr.Blocks(title="LLM with TTS",head=head) as demo:
153
- gr.Markdown("LLM and TTS models will change without notice.")
154
  js = """
155
  function(chatbot){
156
  text = (chatbot[chatbot.length -1])["content"]
 
103
  import { env,textToArpa} from "https://akjava.github.io/Matcha-TTS-Japanese/js-esm/text_to_arpa.js";
104
 
105
  env.allowLocalModels = true;
106
+ env.localModelPath = "https://akjava.github.io/Matcha-TTS-Japanese/models/";
107
  env.backends.onnx.logLevel = "fatal";
108
 
109
  let matcha_tts_raw;
 
150
  </script>
151
  '''
152
  with gr.Blocks(title="LLM with TTS",head=head) as demo:
153
+ gr.Markdown("**Qwen2.5-0.5B-Instruct/LJSpeech**.LLM and TTS models will change without notice.")
154
  js = """
155
  function(chatbot){
156
  text = (chatbot[chatbot.length -1])["content"]