mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-21 02:39:27 +01:00
Basic CLI/batch support
-start - Auto-start interpolation if file was also given -quit-when-done - Auto-quit after task or queue -factor - Interpolation factor (2/4/8) -ai - Interpolation AI by dropdown index -output-mode - Export mode by dropdown index -model - AI model by dropdown index
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Flowframes.UI
|
||||
{
|
||||
class MainUiFunctions
|
||||
{
|
||||
public static async Task InitInput (TextBox outputTbox, TextBox inputTbox, TextBox fpsInTbox)
|
||||
public static async Task InitInput (TextBox outputTbox, TextBox inputTbox, TextBox fpsInTbox, bool start = false)
|
||||
{
|
||||
Program.mainForm.SetTab("interpolate");
|
||||
Program.mainForm.ResetInputInfo();
|
||||
@@ -60,6 +60,10 @@ namespace Flowframes.UI
|
||||
Dedupe.ClearCache();
|
||||
await Task.Delay(10);
|
||||
InterpolationProgress.SetPreviewImg(await GetThumbnail(path));
|
||||
|
||||
if (start)
|
||||
Program.mainForm.runBtn_Click(null, null);
|
||||
|
||||
}
|
||||
|
||||
static void CheckExistingFolder (string inpath, string outpath)
|
||||
|
||||
Reference in New Issue
Block a user