Remove model_names nesting in json.

This commit is contained in:
Jonathan Sowards 2024-03-17 19:42:38 -06:00 committed by GitHub
parent e0d466ed14
commit 0241b54011
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ def list_models():
for model in get_available_models():
result["data"].append(model_info_dict(model))
return {'model_names': result}
return result
def list_dummy_models():