From ec259228ad9aad906d1b3d1af2ee527fca31afee Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Tue, 9 Dec 2025 15:43:45 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index 809b94c..a799113 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -138,10 +138,10 @@ def PiperTTS_GUI_TextFile_Open(): with open(Root_Window.filename) as f: Cursor_Position = Input_Box.index(INSERT) Input_Box.insert(Cursor_Position, f.read()) - MyTestText = Input_Box.get("1.0","end-1c") - MyTestText2 = "There are {}, lines".format(len(MyTestText.splitlines())) - My_Test_Label2["text"] = MyTestText2 - + #MyTestText = Input_Box.get("1.0","end-1c") + #MyTestText2 = "There are {}, lines".format(len(MyTestText.splitlines())) + #My_Test_Label2["text"] = MyTestText2 + Test_var.set("There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines()))) else: print("Canceled file dialog.") except: