User Tools

Site Tools


select-option

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
select-option [2021/10/25 17:19] adminselect-option [2023/04/23 15:52] (current) admin
Line 1: Line 1:
 This is all from /usr/lib/cgi-bin/ and /var/www/html/mp3 on Jim-ITX (.45) This is all from /usr/lib/cgi-bin/ and /var/www/html/mp3 on Jim-ITX (.45)
-<code>+<Code>
     $.post("/cgi-bin/t.py",     $.post("/cgi-bin/t.py",
         {         {
Line 23: Line 23:
         });         });
  
-</code>+</Code>
 The result comes back as a object: The result comes back as a object:
 {{::voices.png|}} {{::voices.png|}}
Line 29: Line 29:
 t.py code to generate the "result" t.py code to generate the "result"
  
-<code>+<Code>
     if action == "getvoices":     if action == "getvoices":
         voices = text_to_speech.list_voices().get_result()         voices = text_to_speech.list_voices().get_result()
Line 43: Line 43:
         jo = json.dumps(persons)         jo = json.dumps(persons)
         print(jo)         print(jo)
-</code>+</Code>
select-option.txt · Last modified: 2023/04/23 15:52 by admin