mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
Remove model_names nesting in json.
This commit is contained in:
parent
e0d466ed14
commit
0241b54011
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue