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
No related branches found
No related tags found
No related merge requests found
...@@ -591,6 +591,8 @@ Endpoints.Models = { ...@@ -591,6 +591,8 @@ Endpoints.Models = {
ImportFromHFCache: (modelId: string) => ImportFromHFCache: (modelId: string) =>
API_URL() + 'model/hfcache_import?model_id=' + modelId, API_URL() + 'model/hfcache_import?model_id=' + modelId,
GetLocalUninstalled: () => API_URL() + 'model/list_local_uninstalled', 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', HuggingFaceLogin: () => API_URL() + 'model/login_to_huggingface',
Delete: (modelId: string) => API_URL() + 'model/delete?model_id=' + modelId, 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.
Finish editing this message first!
Please register or to comment