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

Switch to using common model import endpoint in ImportModelsModal

parent c7008d5c
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ export default function ImportModelsModal({ open, setOpen}) {
const model_id = next.value[0];
console.log("Importing " + model_id);
await fetch(
chatAPI.Endpoints.Models.ImportFromHFCache(model_id)
// TODO: Hardcoding hugging face as model source for now as it's the only source
chatAPI.Endpoints.Models.ImportLocal("huggingface", model_id)
);
next = model_ids.next();
}
......
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