Commit e8a5eae746868ca8ffd2bc4baab5bd3d126d25e1
1 parent
0e9dc543
语音TTS - 替换TensorFlow AAR为远程库(裁剪版导致打正式包失败)
Showing
4 changed files
with
9 additions
and
5 deletions
project-wl-kuaidiyuan-android/TTS/build.gradle.kts
| @@ -38,11 +38,15 @@ dependencies { | @@ -38,11 +38,15 @@ dependencies { | ||
| 38 | implementation("androidx.core:core-ktx:1.15.0") | 38 | implementation("androidx.core:core-ktx:1.15.0") |
| 39 | implementation("androidx.appcompat:appcompat:1.5.0") | 39 | implementation("androidx.appcompat:appcompat:1.5.0") |
| 40 | 40 | ||
| 41 | - implementation("org.tensorflow:tensorflow-lite-support:0.3.1") { | ||
| 42 | - exclude(group = "org.tensorflow", module = "tensorflow-lite") | ||
| 43 | - exclude(group = "org.tensorflow", module = "tensorflow-lite-api") | ||
| 44 | - exclude(group = "org.tensorflow", module = "tensorflow-lite-select-tf-ops") | ||
| 45 | - } | 41 | + implementation("org.tensorflow:tensorflow-lite:2.8.0") |
| 42 | + implementation("org.tensorflow:tensorflow-lite-api:2.8.0") | ||
| 43 | + implementation("org.tensorflow:tensorflow-lite-support:0.3.1") | ||
| 44 | + implementation("org.tensorflow:tensorflow-lite-select-tf-ops:2.8.0") | ||
| 45 | +// { | ||
| 46 | +// exclude(group = "org.tensorflow", module = "tensorflow-lite") | ||
| 47 | +// exclude(group = "org.tensorflow", module = "tensorflow-lite-api") | ||
| 48 | +// exclude(group = "org.tensorflow", module = "tensorflow-lite-select-tf-ops") | ||
| 49 | +// } | ||
| 46 | implementation("com.belerweb:pinyin4j:2.5.1") | 50 | implementation("com.belerweb:pinyin4j:2.5.1") |
| 47 | 51 | ||
| 48 | } | 52 | } |
| 49 | \ No newline at end of file | 53 | \ No newline at end of file |
project-wl-kuaidiyuan-android/TTS/libs/tensorflow-lite-2.8.0.aar deleted
100644 → 0
No preview for this file type
project-wl-kuaidiyuan-android/TTS/libs/tensorflow-lite-select-tf-ops-2.8.0.aar deleted
100644 → 0
No preview for this file type
project-wl-kuaidiyuan-android/TTS/src/main/assets/tacotron2_quan.tflite deleted
100644 → 0
No preview for this file type