Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,30 +15,7 @@ def MyPrint(s):
|
|
| 15 |
print(f"{date_time}: {s}")
|
| 16 |
|
| 17 |
|
| 18 |
-
title = "#
|
| 19 |
-
|
| 20 |
-
description = """
|
| 21 |
-
This space shows how to convert text to speech with Next-gen Kaldi.
|
| 22 |
-
|
| 23 |
-
It is running on CPU within a docker container provided by Hugging Face.
|
| 24 |
-
|
| 25 |
-
See more information by visiting the following links:
|
| 26 |
-
|
| 27 |
-
- <https://github.com/k2-fsa/sherpa-onnx>
|
| 28 |
-
|
| 29 |
-
If you want to deploy it locally, please see
|
| 30 |
-
<https://k2-fsa.github.io/sherpa/>
|
| 31 |
-
|
| 32 |
-
If you want to use Android APKs, please see
|
| 33 |
-
<https://k2-fsa.github.io/sherpa/onnx/tts/apk.html>
|
| 34 |
-
|
| 35 |
-
If you want to use Android text-to-speech engine APKs, please see
|
| 36 |
-
<https://k2-fsa.github.io/sherpa/onnx/tts/apk-engine.html>
|
| 37 |
-
|
| 38 |
-
If you want to download an all-in-one exe for Windows, please see
|
| 39 |
-
<https://github.com/k2-fsa/sherpa-onnx/releases/tag/tts-models>
|
| 40 |
-
|
| 41 |
-
"""
|
| 42 |
|
| 43 |
# css style is copied from
|
| 44 |
# https://huggingface.co/spaces/alphacep/asr/blob/main/app.py#L113
|
|
@@ -240,8 +217,6 @@ with demo:
|
|
| 240 |
],
|
| 241 |
)
|
| 242 |
|
| 243 |
-
gr.Markdown(description)
|
| 244 |
-
|
| 245 |
|
| 246 |
def download_espeak_ng_data():
|
| 247 |
os.system(
|
|
|
|
| 15 |
print(f"{date_time}: {s}")
|
| 16 |
|
| 17 |
|
| 18 |
+
title = "#Text-to-speech (TTS)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
# css style is copied from
|
| 21 |
# https://huggingface.co/spaces/alphacep/asr/blob/main/app.py#L113
|
|
|
|
| 217 |
],
|
| 218 |
)
|
| 219 |
|
|
|
|
|
|
|
| 220 |
|
| 221 |
def download_espeak_ng_data():
|
| 222 |
os.system(
|