Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
9952550
1
Parent(s):
71abf2f
Update app.py
Browse files
app.py
CHANGED
@@ -255,6 +255,7 @@ model_licenses = {
|
|
255 |
'speecht5': 'MIT',
|
256 |
'metavoice': 'Apache 2.0',
|
257 |
'elevenlabs': 'Proprietary',
|
|
|
258 |
}
|
259 |
model_links = {
|
260 |
'styletts2': 'https://github.com/yl4579/StyleTTS2',
|
@@ -291,7 +292,8 @@ def model_license(name):
|
|
291 |
print(name)
|
292 |
for k, v in AVAILABLE_MODELS.items():
|
293 |
if k == name:
|
294 |
-
|
|
|
295 |
print('---')
|
296 |
return 'Unknown'
|
297 |
def get_leaderboard(reveal_prelim: bool):
|
|
|
255 |
'speecht5': 'MIT',
|
256 |
'metavoice': 'Apache 2.0',
|
257 |
'elevenlabs': 'Proprietary',
|
258 |
+
'whisperspeech': 'MIT',
|
259 |
}
|
260 |
model_links = {
|
261 |
'styletts2': 'https://github.com/yl4579/StyleTTS2',
|
|
|
292 |
print(name)
|
293 |
for k, v in AVAILABLE_MODELS.items():
|
294 |
if k == name:
|
295 |
+
if v in model_licenses:
|
296 |
+
return model_licenses[v]
|
297 |
print('---')
|
298 |
return 'Unknown'
|
299 |
def get_leaderboard(reveal_prelim: bool):
|