diff --git a/src/app.js b/src/app.js index 3d6f9e8..bb49ce3 100644 --- a/src/app.js +++ b/src/app.js @@ -26,7 +26,7 @@ const createDirs = [ ]; const devMode = !app.isPackaged; -const pro = true; +const pro = false; const appDataPath = path.resolve(appDataPaths[process.platform], '.enhancr'); const settingsPath = path.resolve(appDataPath, 'settings.json'); diff --git a/src/inference/cain_dml.py b/src/inference/cain_dml.py index 0d8269a..63e6411 100644 --- a/src/inference/cain_dml.py +++ b/src/inference/cain_dml.py @@ -13,7 +13,6 @@ sys.path.insert(0, current_dir) from utils.vfi_inference import vfi_frame_merger -from utils.trt_precision import check_model_precision_trt ossystem = platform.system() core = vs.core diff --git a/src/inference/dpir_dml.py b/src/inference/dpir_dml.py index 1e0e2c6..8fa1338 100644 --- a/src/inference/dpir_dml.py +++ b/src/inference/dpir_dml.py @@ -33,8 +33,6 @@ def threading(): core.num_threads = cpu_count() / 2 cwd = os.getcwd() -vsmlrt_path = os.path.join(cwd, '..', 'external', 'python', 'vstrt.dll') -core.std.LoadPlugin(path=vsmlrt_path) clip = core.lsmas.LWLibavSource(source=f"{video_path}", cache=0) diff --git a/src/inference/esrgan_dml.py b/src/inference/esrgan_dml.py index 2df71c2..c31e1ba 100644 --- a/src/inference/esrgan_dml.py +++ b/src/inference/esrgan_dml.py @@ -38,8 +38,6 @@ def threading(): core.num_threads = cpu_count() / 2 cwd = os.getcwd() -vsmlrt_path = os.path.join(cwd, '..', 'external', 'python', 'vstrt.dll') -core.std.LoadPlugin(path=vsmlrt_path) clip = core.lsmas.LWLibavSource(source=f"{video_path}", cache=0) diff --git a/src/js/ui.js b/src/js/ui.js index c87c7df..fe4533d 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -2544,6 +2544,8 @@ if (localStorage.getItem('pro') == 'false') { document.getElementById('swinir').style.color = '#4f4f4f'; document.getElementById('swinir').style.pointerEvents = 'none'; + document.getElementById('scunet').style.color = '#4f4f4f'; + document.getElementById('scunet').style.pointerEvents = 'none'; document.getElementById('dpir').style.color = '#4f4f4f'; document.getElementById('dpir').style.pointerEvents = 'none'; document.getElementById('anime-video').style.color = '#4f4f4f';