Create frames ini in interpolation step, to allow manual scenes/dedupe

This commit is contained in:
N00MKRAD
2021-04-03 12:20:52 +02:00
parent 73dbe1e1e7
commit b51ee375e5

View File

@@ -149,12 +149,7 @@ namespace Flowframes
if(!Config.GetBool("enableLoop"))
await Utils.CopyLastFrame(currentInputFrameCount);
// if (Config.GetInt("dedupMode") > 0)
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount);
if (canceled) return;
await FrameOrder.CreateFrameOrderFile(current.framesFolder, Config.GetBool("enableLoop"), current.interpFactor);
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount); // Always
if (canceled) return;
@@ -184,6 +179,10 @@ namespace Flowframes
public static async Task RunAi(string outpath, AI ai, bool stepByStep = false)
{
if (canceled) return;
await FrameOrder.CreateFrameOrderFile(current.framesFolder, Config.GetBool("enableLoop"), current.interpFactor);
Program.mainForm.SetStatus("Downloading models...");
await ModelDownloader.DownloadModelFiles(ai.pkgDir, current.model);
if (canceled) return;