fix: check existing model before model creation

This commit is contained in:
Timothy J. Baek committed 2023-12-26 23:19:43 -08:00
1 parent 59fb1b933d
commit fbb64406d8
3 files changed
+5 -15

No files matched your search

-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);