From 6408c9fd1b24e8368115539d1a98e2922110b18c Mon Sep 17 00:00:00 2001 From: Anjok07 <68268275+Anjok07@users.noreply.github.com> Date: Tue, 12 Apr 2022 03:21:57 -0500 Subject: [PATCH] Update VocalRemover.py --- VocalRemover.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VocalRemover.py b/VocalRemover.py index 7ac7f56..984df7a 100644 --- a/VocalRemover.py +++ b/VocalRemover.py @@ -26,6 +26,10 @@ from pathlib import Path import inference_v5 +import win32gui, win32con + +the_program_to_hide = win32gui.GetForegroundWindow() +win32gui.ShowWindow(the_program_to_hide , win32con.SW_HIDE) # Change the current working directory to the directory # this file sits in