Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from typing import Callable
|
|
| 9 |
|
| 10 |
# Download if not exists
|
| 11 |
os.makedirs("checkpoints", exist_ok=True)
|
| 12 |
-
snapshot_download(repo_id="fishaudio/
|
| 13 |
|
| 14 |
print("All checkpoints downloaded")
|
| 15 |
|
|
@@ -36,16 +36,16 @@ from fish_speech.utils.schema import ServeTTSRequest
|
|
| 36 |
os.environ["EINX_FILTER_TRACEBACK"] = "false"
|
| 37 |
|
| 38 |
|
| 39 |
-
HEADER_MD = """#
|
| 40 |
|
| 41 |
-
## The demo in this space is
|
| 42 |
-
## 该 Demo 为
|
| 43 |
|
| 44 |
A text-to-speech model based on DAC & Qwen3 developed by [Fish Audio](https://fish.audio).
|
| 45 |
由 [Fish Audio](https://fish.audio) 研发的 DAC & Qwen3 多语种语音合成.
|
| 46 |
|
| 47 |
-
You can find the source code [here](https://github.com/fishaudio/fish-speech) and models [here](https://huggingface.co/fishaudio/
|
| 48 |
-
你可以在 [这里](https://github.com/fishaudio/fish-speech) 找到源代码和 [这里](https://huggingface.co/fishaudio/
|
| 49 |
|
| 50 |
Related code and weights are released under CC BY-NC-SA 4.0 License.
|
| 51 |
相关代码,权重使用 CC BY-NC-SA 4.0 许可证发布.
|
|
@@ -53,8 +53,8 @@ Related code and weights are released under CC BY-NC-SA 4.0 License.
|
|
| 53 |
We are not responsible for any misuse of the model, please consider your local laws and regulations before using it.
|
| 54 |
我们不对模型的任何滥用负责,请在使用之前考虑您当地的法律法规.
|
| 55 |
|
| 56 |
-
The model running in this WebUI is
|
| 57 |
-
在此 WebUI 中运行的模型是
|
| 58 |
"""
|
| 59 |
|
| 60 |
TEXTBOX_PLACEHOLDER = """Put your text here. 在此处输入文本."""
|
|
|
|
| 9 |
|
| 10 |
# Download if not exists
|
| 11 |
os.makedirs("checkpoints", exist_ok=True)
|
| 12 |
+
snapshot_download(repo_id="fishaudio/s1-mini", local_dir="./checkpoints/openaudio-s1-mini")
|
| 13 |
|
| 14 |
print("All checkpoints downloaded")
|
| 15 |
|
|
|
|
| 36 |
os.environ["EINX_FILTER_TRACEBACK"] = "false"
|
| 37 |
|
| 38 |
|
| 39 |
+
HEADER_MD = """# Fish Audio S1
|
| 40 |
|
| 41 |
+
## The demo in this space is Fish Audio S1, Please check [Fish Audio](https://fish.audio) for the best model.
|
| 42 |
+
## 该 Demo 为 Fish Audio S1 版本, 请在 [Fish Audio](https://fish.audio) 体验最新 DEMO.
|
| 43 |
|
| 44 |
A text-to-speech model based on DAC & Qwen3 developed by [Fish Audio](https://fish.audio).
|
| 45 |
由 [Fish Audio](https://fish.audio) 研发的 DAC & Qwen3 多语种语音合成.
|
| 46 |
|
| 47 |
+
You can find the source code [here](https://github.com/fishaudio/fish-speech) and models [here](https://huggingface.co/fishaudio/s1-mini).
|
| 48 |
+
你可以在 [这里](https://github.com/fishaudio/fish-speech) 找到源代码和 [这里](https://huggingface.co/fishaudio/s1-mini) 找到模型.
|
| 49 |
|
| 50 |
Related code and weights are released under CC BY-NC-SA 4.0 License.
|
| 51 |
相关代码,权重使用 CC BY-NC-SA 4.0 许可证发布.
|
|
|
|
| 53 |
We are not responsible for any misuse of the model, please consider your local laws and regulations before using it.
|
| 54 |
我们不对模型的任何滥用负责,请在使用之前考虑您当地的法律法规.
|
| 55 |
|
| 56 |
+
The model running in this WebUI is Fish Audio S1 Mini.
|
| 57 |
+
在此 WebUI 中运行的模型是 Fish Audio S1 Mini.
|
| 58 |
"""
|
| 59 |
|
| 60 |
TEXTBOX_PLACEHOLDER = """Put your text here. 在此处输入文本."""
|