mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Fix model downloader not running when using rt
This commit is contained in:
@@ -89,11 +89,20 @@ namespace Flowframes
|
||||
|
||||
public static async Task Realtime ()
|
||||
{
|
||||
canceled = false;
|
||||
|
||||
Program.mainForm.SetWorking(true);
|
||||
|
||||
if(currentSettings.ai.NameInternal != Implementations.rifeNcnnVs.NameInternal)
|
||||
Cancel($"Real-time interpolation is only available when using {Implementations.rifeNcnnVs.FriendlyName}.");
|
||||
|
||||
if (canceled) return;
|
||||
|
||||
Program.mainForm.SetStatus("Downloading models...");
|
||||
await ModelDownloader.DownloadModelFiles(currentSettings.ai, currentSettings.model.Dir);
|
||||
|
||||
if (canceled) return;
|
||||
|
||||
await AiProcess.RunRifeNcnnVs(currentSettings.framesFolder, "", currentSettings.interpFactor, currentSettings.model.Dir, true);
|
||||
Program.mainForm.SetWorking(false);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"name": "RIFE 2.3",
|
||||
"desc": "Old Model",
|
||||
"dir": "rife-v2.3",
|
||||
"isDefault": "false",
|
||||
"fixedFactors": [2]
|
||||
},
|
||||
{
|
||||
@@ -15,7 +16,7 @@
|
||||
"name": "RIFE 4.3",
|
||||
"desc": "New Fast General Model",
|
||||
"dir": "rife-v4.3",
|
||||
"isDefault": "true"
|
||||
"isDefault": "false"
|
||||
},
|
||||
{
|
||||
"name": "RIFE 4.4",
|
||||
|
||||
Reference in New Issue
Block a user