Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,23 +1,3 @@
|
|
1 |
-
#!/usr/bin/env python3
|
2 |
-
#
|
3 |
-
# Copyright 2022-2023 Xiaomi Corp. (authors: Fangjun Kuang)
|
4 |
-
#
|
5 |
-
# See LICENSE for clarification regarding multiple authors
|
6 |
-
#
|
7 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8 |
-
# you may not use this file except in compliance with the License.
|
9 |
-
# You may obtain a copy of the License at
|
10 |
-
#
|
11 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12 |
-
#
|
13 |
-
# Unless required by applicable law or agreed to in writing, software
|
14 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16 |
-
# See the License for the specific language governing permissions and
|
17 |
-
# limitations under the License.
|
18 |
-
|
19 |
-
# References:
|
20 |
-
# https://gradio.app/docs/#dropdown
|
21 |
|
22 |
import logging
|
23 |
import os
|
@@ -32,25 +12,7 @@ from model import get_pretrained_model, language_to_models
|
|
32 |
title = "# Next-gen Kaldi: Text-to-speech (TTS)"
|
33 |
|
34 |
description = """
|
35 |
-
|
36 |
-
|
37 |
-
It is running on CPU within a docker container provided by Hugging Face.
|
38 |
-
|
39 |
-
See more information by visiting the following links:
|
40 |
-
|
41 |
-
- <https://github.com/k2-fsa/sherpa-onnx>
|
42 |
-
|
43 |
-
If you want to deploy it locally, please see
|
44 |
-
<https://k2-fsa.github.io/sherpa/>
|
45 |
-
|
46 |
-
If you want to use Android APKs, please see
|
47 |
-
<https://k2-fsa.github.io/sherpa/onnx/tts/apk.html>
|
48 |
-
|
49 |
-
If you want to use Android text-to-speech engine APKs, please see
|
50 |
-
<https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html>
|
51 |
-
|
52 |
-
If you want to download an all-in-one exe for Windows, please see
|
53 |
-
<https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-models>
|
54 |
|
55 |
"""
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
import logging
|
3 |
import os
|
|
|
12 |
title = "# Next-gen Kaldi: Text-to-speech (TTS)"
|
13 |
|
14 |
description = """
|
15 |
+
Text-to-speech (TTS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
"""
|
18 |
|