mirror of
https://github.com/Anjok07/ultimatevocalremovergui.git
synced 2024-11-24 15:30:11 +01:00
Add files via upload
This commit is contained in:
parent
4e9d642a84
commit
65759178fb
22
UVR.py
22
UVR.py
@ -1445,6 +1445,19 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
exit()
|
exit()
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def utagoe_start(self):
|
||||||
|
"""
|
||||||
|
Restart the application after asking for confirmation
|
||||||
|
"""
|
||||||
|
# confirm = tk.messagebox.askyesno(title='Restart Confirmation',
|
||||||
|
# message='This will restart the application and halt any running processes. Your current settings will be saved. \n\n Are you sure you wish to continue?')
|
||||||
|
|
||||||
|
# if confirm:
|
||||||
|
try:
|
||||||
|
subprocess.Popen(f'Utagoe-en.exe')
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def help(self):
|
def help(self):
|
||||||
"""
|
"""
|
||||||
@ -1681,7 +1694,7 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
link.bind("<Button-1>", lambda e:
|
link.bind("<Button-1>", lambda e:
|
||||||
callback("https://github.com/Anjok07/ultimatevocalremovergui/releases/tag/v5.2.0"))
|
callback("https://github.com/Anjok07/ultimatevocalremovergui/releases/tag/v5.2.0"))
|
||||||
|
|
||||||
l0=Button(frame0,text='Open Models Directory',font=("Century Gothic", "11"), command=self.open_Modelfolder_filedialog, justify="left", wraplength=1000, bg="black", relief="ridge")
|
l0=ttk.Button(frame0,text='Open Models Directory', command=self.open_Modelfolder_filedialog)
|
||||||
l0.grid(row=5,column=0,padx=0,pady=0)
|
l0.grid(row=5,column=0,padx=0,pady=0)
|
||||||
|
|
||||||
l0=Label(frame0,text="\n\nBackward Compatibility",font=("Century Gothic", "13", "bold"), justify="center", fg="#f4f4f4")
|
l0=Label(frame0,text="\n\nBackward Compatibility",font=("Century Gothic", "13", "bold"), justify="center", fg="#f4f4f4")
|
||||||
@ -1690,7 +1703,7 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
l0=Label(frame0,text="The v4 Models are fully compatible with this GUI. \n1. If you already have them on your system, click the \"Open Models Directory\" button below. \n2. Place the files with extension \".pth\" into the \"Main Models\" directory. \n3. Now they will automatically appear in the VR Architecture model selection list.\n Note: The v2 models are not compatible with this GUI.\n",font=("Century Gothic", "11"), justify="center", fg="#f4f4f4")
|
l0=Label(frame0,text="The v4 Models are fully compatible with this GUI. \n1. If you already have them on your system, click the \"Open Models Directory\" button below. \n2. Place the files with extension \".pth\" into the \"Main Models\" directory. \n3. Now they will automatically appear in the VR Architecture model selection list.\n Note: The v2 models are not compatible with this GUI.\n",font=("Century Gothic", "11"), justify="center", fg="#f4f4f4")
|
||||||
l0.grid(row=7,column=0,padx=0,pady=0)
|
l0.grid(row=7,column=0,padx=0,pady=0)
|
||||||
|
|
||||||
l0=Button(frame0,text='Open Models Directory',font=("Century Gothic", "11"), command=self.open_Modelfolder_filedialog, justify="left", wraplength=1000, bg="black", relief="ridge")
|
l0=ttk.Button(frame0,text='Open Models Directory', command=self.open_Modelfolder_filedialog)
|
||||||
l0.grid(row=8,column=0,padx=0,pady=0)
|
l0.grid(row=8,column=0,padx=0,pady=0)
|
||||||
|
|
||||||
l0=Label(frame0,text="\n\nInstalling Future Updates",font=("Century Gothic", "13", "bold"), justify="center", fg="#f4f4f4")
|
l0=Label(frame0,text="\n\nInstalling Future Updates",font=("Century Gothic", "13", "bold"), justify="center", fg="#f4f4f4")
|
||||||
@ -1704,7 +1717,7 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
link.bind("<Button-1>", lambda e:
|
link.bind("<Button-1>", lambda e:
|
||||||
callback("https://github.com/Anjok07/ultimatevocalremovergui/releases"))
|
callback("https://github.com/Anjok07/ultimatevocalremovergui/releases"))
|
||||||
|
|
||||||
l0=Button(frame0,text='Open Application Directory',font=("Century Gothic", "11"), command=self.open_appdir_filedialog, justify="left", wraplength=1000, bg="black", relief="ridge")
|
l0=ttk.Button(frame0,text='Open Application Directory', command=self.open_appdir_filedialog)
|
||||||
l0.grid(row=12,column=0,padx=0,pady=0)
|
l0.grid(row=12,column=0,padx=0,pady=0)
|
||||||
|
|
||||||
frame0=Frame(tab9,highlightbackground='red',highlightthicknes=0)
|
frame0=Frame(tab9,highlightbackground='red',highlightthicknes=0)
|
||||||
@ -1829,6 +1842,9 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
l0=ttk.Checkbutton(frame0, text='Save Output Image Spectrogram (VR Architecture Only)', variable=self.outputImage_var)
|
l0=ttk.Checkbutton(frame0, text='Save Output Image Spectrogram (VR Architecture Only)', variable=self.outputImage_var)
|
||||||
l0.grid(row=3,column=2,padx=0,pady=0)
|
l0.grid(row=3,column=2,padx=0,pady=0)
|
||||||
|
|
||||||
|
l0=ttk.Button(frame0,text='Open Utagoe', command=self.utagoe_start)
|
||||||
|
l0.grid(row=4,column=2,padx=0,pady=0)
|
||||||
|
|
||||||
frame0=Frame(tab10,highlightbackground='red',highlightthicknes=0)
|
frame0=Frame(tab10,highlightbackground='red',highlightthicknes=0)
|
||||||
frame0.grid(row=0,column=0,padx=0,pady=30)
|
frame0.grid(row=0,column=0,padx=0,pady=30)
|
||||||
|
|
||||||
|
@ -294,18 +294,15 @@ class Predictor():
|
|||||||
gpu_mem = round(torch.cuda.get_device_properties(0).total_memory/1.074e+9)
|
gpu_mem = round(torch.cuda.get_device_properties(0).total_memory/1.074e+9)
|
||||||
except:
|
except:
|
||||||
widget_text.write(base_text + 'NVIDIA GPU Required for conversion!\n')
|
widget_text.write(base_text + 'NVIDIA GPU Required for conversion!\n')
|
||||||
if int(gpu_mem) <= int(5):
|
if int(gpu_mem) <= int(6):
|
||||||
chunk_set = int(5)
|
chunk_set = int(5)
|
||||||
widget_text.write(base_text + 'Chunk size auto-set to 5... \n')
|
widget_text.write(base_text + 'Chunk size auto-set to 5... \n')
|
||||||
if gpu_mem in [6, 7]:
|
if gpu_mem in [7, 8, 9, 10, 11, 12, 13, 14, 15]:
|
||||||
chunk_set = int(30)
|
chunk_set = int(10)
|
||||||
widget_text.write(base_text + 'Chunk size auto-set to 30... \n')
|
widget_text.write(base_text + 'Chunk size auto-set to 10... \n')
|
||||||
if gpu_mem in [8, 9, 10, 11, 12, 13, 14, 15]:
|
if int(gpu_mem) >= int(16):
|
||||||
chunk_set = int(40)
|
chunk_set = int(40)
|
||||||
widget_text.write(base_text + 'Chunk size auto-set to 40... \n')
|
widget_text.write(base_text + 'Chunk size auto-set to 40... \n')
|
||||||
if int(gpu_mem) >= int(16):
|
|
||||||
chunk_set = int(60)
|
|
||||||
widget_text.write(base_text + 'Chunk size auto-set to 60... \n')
|
|
||||||
if data['gpu'] == -1:
|
if data['gpu'] == -1:
|
||||||
sys_mem = psutil.virtual_memory().total >> 30
|
sys_mem = psutil.virtual_memory().total >> 30
|
||||||
if int(sys_mem) <= int(4):
|
if int(sys_mem) <= int(4):
|
||||||
@ -568,7 +565,7 @@ data = {
|
|||||||
'ensChoose': 'Basic Ensemble',
|
'ensChoose': 'Basic Ensemble',
|
||||||
'algo': 'Instrumentals (Min Spec)',
|
'algo': 'Instrumentals (Min Spec)',
|
||||||
#Advanced Options
|
#Advanced Options
|
||||||
'appendensem': True,
|
'appendensem': False,
|
||||||
# Models
|
# Models
|
||||||
'instrumentalModel': None,
|
'instrumentalModel': None,
|
||||||
'useModel': None,
|
'useModel': None,
|
||||||
|
Loading…
Reference in New Issue
Block a user