fix: check existing model before model creation

This commit is contained in:
Timothy J. Baek
2023-12-26 23:19:43 -08:00
parent 59fb1b933d
commit fbb64406d8
3 changed files with 5 additions and 15 deletions
-2
View File
@@ -97,8 +97,6 @@
console.log();
await settings.set(JSON.parse(localStorage.getItem('settings') ?? '{}'));
// await models.set(await getModels());
// JSON.parse(localStorage.getItem('modelfiles') ?? '[]')
await modelfiles.set(await getModelfiles(localStorage.token));
console.log($modelfiles);