mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-18 17:37:48 +01:00
JSON models now fully integrated, added BackgroundTaskManager
This commit is contained in:
@@ -6,7 +6,7 @@ using System.IO;
|
||||
|
||||
namespace Flowframes.Data
|
||||
{
|
||||
class ModelCollection
|
||||
public class ModelCollection
|
||||
{
|
||||
public AI ai;
|
||||
public List<ModelInfo> models;
|
||||
@@ -53,8 +53,6 @@ namespace Flowframes.Data
|
||||
bool.TryParse((string)item.isDefault, out def);
|
||||
models.Add(new ModelInfo(ai, (string)item.name, (string)item.desc, (string)item.dir, def));
|
||||
}
|
||||
|
||||
Logger.Log($"Loaded {models.Count} {ai.aiName} models from JSON.", true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user