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
No known key found for this signature in database
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():