Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
GitHub Actions
commited on
Commit
·
74bc969
1
Parent(s):
fef3ff9
Sync from GitHub repo
Browse files
models.py
CHANGED
|
@@ -751,6 +751,14 @@ def insert_initial_models():
|
|
| 751 |
is_active=True,
|
| 752 |
model_url="https://build.nvidia.com/nvidia/magpie-tts-multilingual",
|
| 753 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 754 |
]
|
| 755 |
conversational_models = [
|
| 756 |
Model(
|
|
|
|
| 751 |
is_active=True,
|
| 752 |
model_url="https://build.nvidia.com/nvidia/magpie-tts-multilingual",
|
| 753 |
),
|
| 754 |
+
Model(
|
| 755 |
+
id="parmesan",
|
| 756 |
+
name="Parmesan",
|
| 757 |
+
model_type=ModelType.TTS,
|
| 758 |
+
is_open=False,
|
| 759 |
+
is_active=True,
|
| 760 |
+
model_url="https://ttsarena.org/",
|
| 761 |
+
),
|
| 762 |
]
|
| 763 |
conversational_models = [
|
| 764 |
Model(
|
tts.py
CHANGED
|
@@ -118,7 +118,11 @@ model_mapping = {
|
|
| 118 |
"magpie": {
|
| 119 |
"provider": "magpie",
|
| 120 |
"model": "magpie",
|
| 121 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
}
|
| 123 |
url = "https://tts-agi-tts-router-v2.hf.space/tts"
|
| 124 |
headers = {
|
|
|
|
| 118 |
"magpie": {
|
| 119 |
"provider": "magpie",
|
| 120 |
"model": "magpie",
|
| 121 |
+
},
|
| 122 |
+
"parmesan": {
|
| 123 |
+
"provider": "parmesan",
|
| 124 |
+
"model": "parmesan",
|
| 125 |
+
},
|
| 126 |
}
|
| 127 |
url = "https://tts-agi-tts-router-v2.hf.space/tts"
|
| 128 |
headers = {
|