Skip to content

Commit

Permalink
Feat: add atom_type and ckey fields to Silero TTS request
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Jun 12, 2023
1 parent 28c24cc commit a863f99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modular_ss220/modules/tts/code/providers/silero.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
req_body["symbol_durs"] = list()
req_body["format"] = "ogg"
req_body["word_ts"] = FALSE
if(usr)
req_body["atom_type"] = usr.type
req_body["ckey"] = usr.ckey || ""
// var/json_body = json_encode(req_body)
// log_debug(json_body)

Expand Down

0 comments on commit a863f99

Please sign in to comment.