mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-15 08:53:53 +08:00
.
This commit is contained in:
parent
27fe33a23f
commit
c11cd42912
@ -18,9 +18,7 @@ def list_models(typename, regist):
|
||||
proxies=getproxy(("reader", typename)),
|
||||
)
|
||||
try:
|
||||
return sorted(
|
||||
[_["id"] for _ in resp.json()["data"] if _["id"].startswith("tts")]
|
||||
)
|
||||
return sorted([_["id"] for _ in resp.json()["data"]])
|
||||
except:
|
||||
raise Exception(resp)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user