Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -44,7 +44,6 @@ def PiperTTS_GUI_Play():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Play Button.")
|
print("An exception occurred - when pressing Play Button.")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
def PiperTTS_GUI_Pause():
|
def PiperTTS_GUI_Pause():
|
||||||
try:
|
try:
|
||||||
@@ -57,7 +56,6 @@ def PiperTTS_GUI_Pause():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Pause Button.")
|
print("An exception occurred - when pressing Pause Button.")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
def PiperTTS_GUI_Stop():
|
def PiperTTS_GUI_Stop():
|
||||||
try:
|
try:
|
||||||
@@ -68,7 +66,6 @@ def PiperTTS_GUI_Stop():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Stop Button.")
|
print("An exception occurred - when pressing Stop Button.")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
def PiperTTS_GUI_Previous():
|
def PiperTTS_GUI_Previous():
|
||||||
try:
|
try:
|
||||||
@@ -79,7 +76,6 @@ def PiperTTS_GUI_Previous():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Previous Button.")
|
print("An exception occurred - when pressing Previous Button.")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
def PiperTTS_GUI_Next():
|
def PiperTTS_GUI_Next():
|
||||||
try:
|
try:
|
||||||
@@ -90,7 +86,6 @@ def PiperTTS_GUI_Next():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Next Button.")
|
print("An exception occurred - when pressing Next Button.")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
def PiperTTS_GUI_Clipboard():
|
def PiperTTS_GUI_Clipboard():
|
||||||
try:
|
try:
|
||||||
@@ -101,7 +96,6 @@ def PiperTTS_GUI_Clipboard():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when pressing Clipboard Button.")
|
print("An exception occurred - when pressing Clipboard Button.")
|
||||||
|
|
||||||
|
|
||||||
# Deleting info messages
|
# Deleting info messages
|
||||||
def PiperTTS_GUI_Hide_All_Labels():
|
def PiperTTS_GUI_Hide_All_Labels():
|
||||||
try:
|
try:
|
||||||
@@ -110,7 +104,6 @@ def PiperTTS_GUI_Hide_All_Labels():
|
|||||||
except:
|
except:
|
||||||
print("An exception occurred - when attempting to hide previous messages.")
|
print("An exception occurred - when attempting to hide previous messages.")
|
||||||
|
|
||||||
|
|
||||||
# Creating Buttons
|
# Creating Buttons
|
||||||
C_Button_Clipboard = Button(Root_Window, text="📋", pady=20, padx=30, command=PiperTTS_GUI_Clipboard)
|
C_Button_Clipboard = Button(Root_Window, text="📋", pady=20, padx=30, command=PiperTTS_GUI_Clipboard)
|
||||||
C_Button_Play = Button(Root_Window, text="▶", pady=20, padx=30, command=PiperTTS_GUI_Play)
|
C_Button_Play = Button(Root_Window, text="▶", pady=20, padx=30, command=PiperTTS_GUI_Play)
|
||||||
|
|||||||
Reference in New Issue
Block a user