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

This commit is contained in:
2025-12-09 15:08:45 -08:00
parent e1c9ac196e
commit 4cc684dc22

View File

@@ -201,13 +201,13 @@ 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:
try: try:
Temp_Text = Input_Box.get("1.0","end-1c") MyTestText = Input_Box.get("1.0","end-1c")
MyTestText = len(Temp_Text.splitlines()) MyTestText2 = len(MyTestText.splitlines())
except: except:
print("Fuckup again.") print("Fuckup again.")
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, textvariable=MyTestText) My_Test_Labe2 = Label(Controls_Box_Frame, textvariable=MyTestText2)
My_Test_Label.grid(row=2, column=0, columnspan=4) My_Test_Label.grid(row=2, column=0, columnspan=4)
# Aligning Buttons to grid # Aligning Buttons to grid