This commit is contained in:
恍兮惚兮 2025-01-14 15:45:35 +08:00
parent 27fe33a23f
commit c11cd42912

View File

@ -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)