Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -129,7 +129,7 @@ def PiperTTS_GUI_Get_Clipboard():
|
|||||||
#
|
#
|
||||||
def PiperTTS_GUI_TextFile_Open():
|
def PiperTTS_GUI_TextFile_Open():
|
||||||
try:
|
try:
|
||||||
Root_Window.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_Window.filename)
|
print(Root_Window.filename)
|
||||||
except:
|
except:
|
||||||
print("An exception occurred - when Opening Text File.")
|
print("An exception occurred - when Opening Text File.")
|
||||||
|
|||||||
Reference in New Issue
Block a user