mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-20 18:29:25 +01:00
Create frames ini in interpolation step, to allow manual scenes/dedupe
This commit is contained in:
@@ -149,12 +149,7 @@ namespace Flowframes
|
|||||||
if(!Config.GetBool("enableLoop"))
|
if(!Config.GetBool("enableLoop"))
|
||||||
await Utils.CopyLastFrame(currentInputFrameCount);
|
await Utils.CopyLastFrame(currentInputFrameCount);
|
||||||
|
|
||||||
// if (Config.GetInt("dedupMode") > 0)
|
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount); // Always
|
||||||
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount);
|
|
||||||
|
|
||||||
if (canceled) return;
|
|
||||||
|
|
||||||
await FrameOrder.CreateFrameOrderFile(current.framesFolder, Config.GetBool("enableLoop"), current.interpFactor);
|
|
||||||
|
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
|
|
||||||
@@ -184,6 +179,10 @@ namespace Flowframes
|
|||||||
|
|
||||||
public static async Task RunAi(string outpath, AI ai, bool stepByStep = false)
|
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...");
|
Program.mainForm.SetStatus("Downloading models...");
|
||||||
await ModelDownloader.DownloadModelFiles(ai.pkgDir, current.model);
|
await ModelDownloader.DownloadModelFiles(ai.pkgDir, current.model);
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user