Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-09 14:48:11 -08:00
parent 820fb3cf60
commit c9e2f74f6e

View File

@@ -200,7 +200,7 @@ C_Button_Next = Button(Controls_Box_Frame, text="⏭", pady=5, padx=5, command=P
My_Test_Label = Label(Controls_Box_Frame, text="Test Text?") My_Test_Label = Label(Controls_Box_Frame, text="Test Text?")
My_Test_Label.grid(row=0, column=0, columnspan=4) My_Test_Label.grid(row=0, column=0, columnspan=4)
try: try:
MyTestText = "There are {} Lines of text".format(len(Input_Box.get("1.0","end-1c").readlines())) global MyTestText = "There are {} Lines of text".format(len(Input_Box.get("1.0","end-1c").readlines()))
except: except:
print("An exception occurred - trying to count like dracula.") print("An exception occurred - trying to count like dracula.")
My_Test_Labe2 = Label(Controls_Box_Frame, text=MyTestText) My_Test_Labe2 = Label(Controls_Box_Frame, text=MyTestText)