Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -27,6 +27,7 @@ Root_Window.geometry(f'{Window_Width}x{Window_Height}+{int(Window_PosX)}+{int(Wi
|
|||||||
try:
|
try:
|
||||||
with open("voices/voices.json","r") as file:
|
with open("voices/voices.json","r") as file:
|
||||||
data = json.load(file)
|
data = json.load(file)
|
||||||
|
print("Loop!")
|
||||||
# Failed at loading voices.json
|
# Failed at loading voices.json
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print("Error: The file 'voises.json' was not found.")
|
print("Error: The file 'voises.json' was not found.")
|
||||||
|
|||||||
Reference in New Issue
Block a user