Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mafiosnik777 committed Jun 7, 2023
1 parent 729f667 commit d8257f0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion src/inference/cain_dml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/inference/dpir_dml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions src/inference/esrgan_dml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 2 additions & 0 deletions src/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit d8257f0

Please sign in to comment.