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

This commit is contained in:
2025-12-07 08:53:09 -08:00
parent 992c9b16f6
commit c85a645f8c

View File

@@ -129,8 +129,8 @@ def PiperTTS_GUI_Get_Clipboard():
# #
def PiperTTS_GUI_TextFile_Open(): def PiperTTS_GUI_TextFile_Open():
try: try:
root.filename = filedialog.askopenfilename(initialdir = "/",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*"))) Root_Window.filename = filedialog.askopenfilename(initialdir = "/",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*")))
print(root.filename) print(Root_Window.filename)
except: except:
print("An exception occurred - when Opening Text File.") print("An exception occurred - when Opening Text File.")
# #