Skip to content
Snippets Groups Projects
Commit c7008d5c authored by Tony Salomone's avatar Tony Salomone
Browse files

Add SDK endpoint for local import

parent cafe3b1f
Branches
Tags
No related merge requests found
......@@ -591,6 +591,8 @@ Endpoints.Models = {
ImportFromHFCache: (modelId: string) =>
API_URL() + 'model/hfcache_import?model_id=' + modelId,
GetLocalUninstalled: () => API_URL() + 'model/list_local_uninstalled',
ImportLocal: (modelSource: string, modelId: string) =>
API_URL() + 'model/import_local?model_source=' + modelSource + '&model_id=' + modelId,
HuggingFaceLogin: () => API_URL() + 'model/login_to_huggingface',
Delete: (modelId: string) => API_URL() + 'model/delete?model_id=' + modelId,
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment