Akjava commited on
Commit
490a795
1 Parent(s): 8d11eb1

js v02 relase version

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def call_generate_text(message, history):
45
  head = '''
46
  <script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.webgpu.min.js" ></script>
47
  <script type="module">
48
- import { matccha_tts_onnx_env ,matcha_tts_raw_env} from "http://localhost:8000/js-esm/matcha_tts_onnx_en.js";
49
  matccha_tts_onnx_env.matcha_tts_model_path = "/file=models/ljspeech_sim.onnx"
50
  matcha_tts_raw_env.maxInputLength = 140 //if Device removed reason: DXGI_ERROR_DEVICE_HUNG happend reduce to HALF
51
  </script>
 
45
  head = '''
46
  <script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.webgpu.min.js" ></script>
47
  <script type="module">
48
+ import { matccha_tts_onnx_env ,matcha_tts_raw_env} from "https://akjava.github.io/Matcha-TTS-Japanese/js-esm/v002-20240924/matcha_tts_onnx_en.js";
49
  matccha_tts_onnx_env.matcha_tts_model_path = "/file=models/ljspeech_sim.onnx"
50
  matcha_tts_raw_env.maxInputLength = 140 //if Device removed reason: DXGI_ERROR_DEVICE_HUNG happend reduce to HALF
51
  </script>