js v02 relase version
Browse files
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 "
|
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>
|