Update UVR.py

Added version
This commit is contained in:
aufr33 2022-06-27 03:20:25 +03:00 committed by GitHub
parent e2ae50aac7
commit fbbeacdd59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
UVR.py
View File

@ -39,6 +39,8 @@ import inference_MDX
import inference_v5 import inference_v5
import inference_v5_ensemble import inference_v5_ensemble
import inference_demucs import inference_demucs
# Version
from __version__ import VERSION
from win32api import GetSystemMetrics from win32api import GetSystemMetrics
@ -517,7 +519,7 @@ class MainWindow(TkinterDnD.Tk):
self.command_Text = ThreadSafeConsole(master=self, self.command_Text = ThreadSafeConsole(master=self,
background='#0e0e0f',fg='#898b8e', font=('Century Gothic', 11),borderwidth=0) background='#0e0e0f',fg='#898b8e', font=('Century Gothic', 11),borderwidth=0)
self.command_Text.write(f'Ultimate Vocal Remover [{datetime.now().strftime("%Y-%m-%d %H:%M:%S")}]\n') self.command_Text.write(f'Ultimate Vocal Remover v{VERSION} [{datetime.now().strftime("%Y-%m-%d %H:%M:%S")}]\n')
def configure_widgets(self): def configure_widgets(self):
"""Change widget styling and appearance""" """Change widget styling and appearance"""
@ -3382,4 +3384,4 @@ if __name__ == "__main__":
def callback(url): def callback(url):
webbrowser.open_new_tab(url) webbrowser.open_new_tab(url)
root.mainloop() root.mainloop()