diff --git a/Code/Data/Implementations.cs b/Code/Data/Implementations.cs index b7d3838..c791239 100644 --- a/Code/Data/Implementations.cs +++ b/Code/Data/Implementations.cs @@ -12,17 +12,7 @@ namespace Flowframes.Data public static AI dainNcnn = new AI("DAIN_NCNN", "DAIN (NCNN)", "Vulkan/NCNN Implementation of DAIN", "dain-ncnn", new int[] { 2, 3, 4, 5, 6, 7, 8 }); public static AI xvfiCuda = new AI("XVFI_CUDA", "XVFI", "CUDA/Pytorch Implementation of XVFI (Nvidia Only!)", "xvfi-cuda", new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10 }); - public static List networks = new List(); - - public static void Init () - { - networks.Clear(); - networks.Add(rifeCuda); - networks.Add(rifeNcnn); - networks.Add(flavrCuda); - networks.Add(dainNcnn); - networks.Add(xvfiCuda); - } + public static List networks = new List { rifeCuda, rifeNcnn, flavrCuda, dainNcnn, xvfiCuda }; public static AI GetAi (string aiName) { diff --git a/Code/Program.cs b/Code/Program.cs index 771e9ce..6366c0d 100644 --- a/Code/Program.cs +++ b/Code/Program.cs @@ -41,7 +41,6 @@ namespace Flowframes ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; - Implementations.Init(); Task.Run(() => DiskSpaceCheckLoop()); fileArgs = Environment.GetCommandLineArgs().Where(a => a[0] != '-' && File.Exists(a)).ToList().Skip(1).ToArray(); args = Environment.GetCommandLineArgs().Where(a => a[0] == '-').Select(x => x.Trim().Substring(1).ToLowerInvariant()).ToArray();