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

This commit is contained in:
2025-12-12 13:25:05 -08:00
parent 5ef240b143
commit 683685c233

View File

@@ -148,7 +148,7 @@ def PiperTTS_GUI_Get_Clipboard():
#
def PiperTTS_GUI_TextFile_Open():
try:
Root_Window.filename = filedialog.askopenfilename(initialdir = "./",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*")))
Root_Window.filename = filedialog.askopenfilename(initialdir = "./txt",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*")))
if Root_Window.filename:
with open(Root_Window.filename) as f:
Cursor_Position = Input_Box.index(INSERT)