Closed kavitharaju closed 3 days ago
list_models() --> [{script_names: ..., model_name:..., features: ..., downloaded:T/F }, ....]
get_model(lang_name=None, script_name=None, model_name=None) --> {script_names: ..., model_name:..., features: ..., downloaded:T/F }
These APIs shoudl return as much data as we can about the models. The fields given above are examples, add or remove fields as needed.
list_models() --> [{script_names: ..., model_name:..., features: ..., downloaded:T/F }, ....]
get_model(lang_name=None, script_name=None, model_name=None) --> {script_names: ..., model_name:..., features: ..., downloaded:T/F }
These APIs shoudl return as much data as we can about the models. The fields given above are examples, add or remove fields as needed.