mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Remove model_names nesting in json.
This commit is contained in:
parent
e0d466ed14
commit
0241b54011
@ -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 New Issue
Block a user