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

This commit is contained in:
2025-12-09 13:57:21 -08:00
parent a5cf1cd15a
commit a48c418d3f

View File

@@ -138,8 +138,9 @@ def PiperTTS_GUI_TextFile_Open():
print(type(Root_Window.filename))
if Root_Window.filename:
with open(Root_Window.filename) as f:
Cursor_Position = Input_Box.index(INSERT)
Input_Box.insert("Cursor_Position", f.read())
print(f.read())
#Cursor_Position = Input_Box.index(INSERT)
#Input_Box.insert("Cursor_Position", f.read())
else:
print("Canceled file dialog.")
except: