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: