Update Uptated-Prototype/Test-json.py
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import json
|
||||
|
||||
##########################
|
||||
'''
|
||||
############### Test Code Block Start ###############
|
||||
x = {
|
||||
"en_GB-alan-low": {
|
||||
"key": "en_GB-alan-low",
|
||||
@@ -73,9 +74,8 @@ z = json.loads(y)
|
||||
for voice_id, info in z.items():
|
||||
print((f"{info["language"]["name_native"]} ({info["language"]["name_english"]}, {info["language"]["country_english"]})")
|
||||
|
||||
# Removes duplicate languages choices from list
|
||||
|
||||
##########################
|
||||
############### Test Code Block End ###############
|
||||
'''
|
||||
|
||||
# Attempts to load voices.json
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user