select-option
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
select-option [2021/10/25 17:14] – admin | select-option [2021/10/25 17:19] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This is all from / | ||
< | < | ||
$.post("/ | $.post("/ | ||
Line 25: | Line 26: | ||
The result comes back as a object: | The result comes back as a object: | ||
{{:: | {{:: | ||
+ | |||
+ | t.py code to generate the " | ||
+ | |||
+ | < | ||
+ | if action == " | ||
+ | voices = text_to_speech.list_voices().get_result() | ||
+ | v = voices[' | ||
+ | persons = {} | ||
+ | for x in v: | ||
+ | name=x[' | ||
+ | description = x[' | ||
+ | language = x[' | ||
+ | if language.startswith(' | ||
+ | nam = re.split(":", | ||
+ | persons[nam[0]]=name | ||
+ | jo = json.dumps(persons) | ||
+ | print(jo) | ||
+ | </ |
select-option.txt · Last modified: 2023/04/23 15:52 by admin